home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• Interesting Stuff •
/
Fish •••
/
Read Me Now, or Regret It Later
/
Read Me Now, or Regret It Later.rsrc
/
CODE_1.txt
< prev
next >
Wrap
Text File
|
1989-10-24
|
130KB
|
2,332 lines
# near model CODE resource
# jump table entries: 0-0 (1 of them)
export_0:
00000000 4E56 0000 link A6, 0
00000004 6128 bsr +0x2A /* 0000002E */
00000006 4EBA 0104 jsr [PC + 0x104 /* 0000010C */]
0000000A 4A00 tst.b D0
0000000C 6706 beq +0x8 /* 00000014 */
0000000E 4EBA 0648 jsr [PC + 0x648 /* 00000658 */]
00000012 6016 bra +0x18 /* 0000002A */
label00000014:
00000014 3F2D FEB6 move.w -[A7], [A5 - 0x14A]
00000018 4EBA 143C jsr [PC + 0x143C /* 00001456 */]
0000001C 544F addq.w A7, 2
0000001E 4A40 tst.w D0
00000020 6708 beq +0xA /* 0000002A */
00000022 3F00 move.w -[A7], D0
00000024 4EBA 0F14 jsr [PC + 0xF14 /* 00000F3A */]
00000028 544F addq.w A7, 2
label0000002A:
0000002A 4E5E unlink A6
0000002C A9F4 syscall ExitToShell
fn0000002E:
0000002E 4E56 0000 link A6, 0
00000032 48E7 0C00 movem.l -[A7], D4,D5
00000036 486D FFFC pea.l [A5 - 0x4]
0000003A A86E syscall InitGraf
0000003C A8FE syscall InitFonts
0000003E A912 syscall InitWindows
00000040 A930 syscall InitMenus
00000042 A9CC syscall TEInit
00000044 42A7 clr.l -[A7]
00000046 A97B syscall InitDialogs
00000048 A850 syscall InitCursor
0000004A 42AD FEE0 clr.l [A5 - 0x120]
0000004E 42A7 clr.l -[A7]
00000050 A8D8 syscall NewRgn
00000052 201F move.l D0, [A7]+
00000054 2B40 FEEA move.l [A5 - 0x116], D0
00000058 42A7 clr.l -[A7]
0000005A 3F3C 001E move.w -[A7], 0x1E
0000005E A9BF syscall GetRMenu
00000060 201F move.l D0, [A7]+
00000062 2B40 FEEE move.l [A5 - 0x112], D0
00000066 2F00 move.l -[A7], D0
00000068 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
0000006E A94D syscall AppendResMenu/AddResMenu
00000070 2F2D FEEE move.l -[A7], [A5 - 0x112]
00000074 3F3C 0001 move.w -[A7], 0x1
00000078 486D FDB6 pea.l [A5 - 0x24A]
0000007C A946 syscall GetMenuItemText/GetItem
0000007E 7801 moveq.l D4, 0x01
00000080 162D FDB6 move.b D3, [A5 - 0x24A]
00000084 0243 00FF andi.w D3, 0xFF
00000088 3A03 move.w D5, D3
0000008A 6014 bra +0x16 /* 000000A0 */
label0000008C:
0000008C 5245 addq.w D5, 1
0000008E 45ED FDB6 lea.l A2, [A5 - 0x24A]
00000092 3604 move.w D3, D4
00000094 5244 addq.w D4, 1
00000096 48C3 ext.l D3
00000098 2243 movea.l A1, D3
0000009A 15A9 0910 5000 move.b [A2 + D5.w], [A1 + 0x910]
label000000A0:
000000A0 1638 0910 move.b D3, [0x00000910 /* CurApName */]
000000A4 4883 ext.w D3
000000A6 B843 cmp.w D4, D3
000000A8 6FE2 ble -0x1C /* 0000008C */
000000AA 5245 addq.w D5, 1
000000AC 45ED FDB6 lea.l A2, [A5 - 0x24A]
000000B0 15BC 00C9 5000 move.b [A2 + D5.w], 0xC9
000000B6 1B45 FDB6 move.b [A5 - 0x24A], D5
000000BA 2F2D FEEE move.l -[A7], [A5 - 0x112]
000000BE 3F3C 0001 move.w -[A7], 0x1
000000C2 486D FDB6 pea.l [A5 - 0x24A]
000000C6 A947 syscall SetMenuItemText/SetItem
000000C8 2F2D FEEE move.l -[A7], [A5 - 0x112]
000000CC 4267 clr.w -[A7]
000000CE A935 syscall InsertMenu
000000D0 42A7 clr.l -[A7]
000000D2 3F3C 001F move.w -[A7], 0x1F
000000D6 A9BF syscall GetRMenu
000000D8 201F move.l D0, [A7]+
000000DA 2B40 FEF2 move.l [A5 - 0x10E], D0
000000DE 2F00 move.l -[A7], D0
000000E0 4267 clr.w -[A7]
000000E2 A935 syscall InsertMenu
000000E4 42A7 clr.l -[A7]
000000E6 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000000EA A9BF syscall GetRMenu
000000EC 201F move.l D0, [A7]+
000000EE 2B40 FEF6 move.l [A5 - 0x10A], D0
000000F2 2F00 move.l -[A7], D0
000000F4 4267 clr.w -[A7]
000000F6 A935 syscall InsertMenu
000000F8 A937 syscall DrawMenuBar
000000FA 3B7C FFFF FDAA move.w [A5 - 0x256], 0xFFFF
00000100 426D FDA6 clr.w [A5 - 0x25A]
00000104 4CDF 0030 movem.l D4,D5, [A7]+
00000108 4E5E unlink A6
0000010A 4E75 rts
fn0000010C:
0000010C 4E56 FFDC link A6, -0x0024
00000110 48E7 0E10 movem.l -[A7], D4,D5,D6,A3
00000114 486E FFF2 pea.l [A6 - 0xE]
00000118 486D FDB6 pea.l [A5 - 0x24A]
0000011C 4EBA 13B6 jsr [PC + 0x13B6 /* 000014D4 */]
00000120 504F addq.w A7, 8
00000122 486D FEB6 pea.l [A5 - 0x14A]
00000126 3F2E FFF2 move.w -[A7], [A6 - 0xE]
0000012A 2F3C 0000 0910 move.l -[A7], 0x910
00000130 4EBA 1338 jsr [PC + 0x1338 /* 0000146A */]
00000134 4FEF 000A lea.l A7, [A7 + 0xA]
00000138 3D40 FFFE move.w [A6 - 0x2], D0
0000013C 6714 beq +0x16 /* 00000152 */
0000013E 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000142 4EBA 0DF6 jsr [PC + 0xDF6 /* 00000F3A */]
00000146 544F addq.w A7, 2
00000148 7000 moveq.l D0, 0x00
label0000014A:
0000014A 4CDF 0870 movem.l D4,D5,D6,A3, [A7]+
0000014E 4E5E unlink A6
00000150 4E75 rts
label00000152:
00000152 42A7 clr.l -[A7]
00000154 3F3C 0004 move.w -[A7], 0x4
00000158 A9B9 syscall GetCursor
0000015A 201F move.l D0, [A7]+
0000015C 2440 movea.l A2, D0
0000015E 2F12 move.l -[A7], [A2]
00000160 A851 syscall SetCursor
00000162 3D7C 0028 FFE0 move.w [A6 - 0x20], 0x28 /* '(' */
00000168 362D FF8E move.w D3, [A5 - 0x72]
0000016C 0443 01F6 subi.w D3, 0x1F6
00000170 E243 asr D3.w, 1
00000172 3D43 FFE2 move.w [A6 - 0x1E], D3
00000176 0643 01F6 addi.w D3, 0x1F6
0000017A 3D43 FFE6 move.w [A6 - 0x1A], D3
0000017E 362D FF8C move.w D3, [A5 - 0x74]
00000182 0443 0030 subi.w D3, 0x30 /* '0' */
00000186 0243 FFF8 andi.w D3, 0xFFF8
0000018A 0643 0028 addi.w D3, 0x28 /* '(' */
0000018E 3D43 FFE4 move.w [A6 - 0x1C], D3
00000192 362E FFE4 move.w D3, [A6 - 0x1C]
00000196 966E FFE0 sub.w D3, [A6 - 0x20]
0000019A 3B43 FEE8 move.w [A5 - 0x118], D3
0000019E 42A7 clr.l -[A7]
000001A0 42A7 clr.l -[A7]
000001A2 486E FFE0 pea.l [A6 - 0x20]
000001A6 42A7 clr.l -[A7]
000001A8 3F3C 03E8 move.w -[A7], 0x3E8
000001AC A9BA syscall GetString
000001AE 2D5F FFDC move.l [A6 - 0x24], [A7]+
000001B2 6608 bne +0xA /* 000001BC */
000001B4 3F3C 0002 move.w -[A7], 0x2
000001B8 A9C8 syscall SysBeep
000001BA A9F4 syscall ExitToShell
label000001BC:
000001BC 206E FFDC movea.l A0, [A6 - 0x24]
000001C0 2F08 move.l -[A7], A0
000001C2 A029 syscall HLock
000001C4 205F movea.l A0, [A7]+
000001C6 2F10 move.l -[A7], [A0]
000001C8 3F3C FFFF move.w -[A7], 0xFFFF
000001CC 3F3C 0004 move.w -[A7], 0x4
000001D0 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
000001D6 3F3C FFFF move.w -[A7], 0xFFFF
000001DA 42A7 clr.l -[A7]
000001DC A913 syscall NewWindow
000001DE 2B57 FEB8 move.l [A5 - 0x148], [A7]
000001E2 A873 syscall SetPort
000001E4 486D FEC8 pea.l [A5 - 0x138]
000001E8 246D FEB8 movea.l A2, [A5 - 0x148]
000001EC 3F2A 0012 move.w -[A7], [A2 + 0x12]
000001F0 246D FEB8 movea.l A2, [A5 - 0x148]
000001F4 3F2A 0010 move.w -[A7], [A2 + 0x10]
000001F8 246D FEB8 movea.l A2, [A5 - 0x148]
000001FC 362A 0016 move.w D3, [A2 + 0x16]
00000200 0443 0010 subi.w D3, 0x10
00000204 3F03 move.w -[A7], D3
00000206 246D FEB8 movea.l A2, [A5 - 0x148]
0000020A 3F2A 0014 move.w -[A7], [A2 + 0x14]
0000020E A8A7 syscall SetRect
00000210 42A7 clr.l -[A7]
00000212 3F3C 0001 move.w -[A7], 0x1
00000216 3F2D FEB6 move.w -[A7], [A5 - 0x14A]
0000021A 4EBA 12D4 jsr [PC + 0x12D4 /* 000014F0 */]
0000021E 504F addq.w A7, 8
00000220 3D40 FFFE move.w [A6 - 0x2], D0
00000224 6710 beq +0x12 /* 00000236 */
00000226 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000022A 4EBA 0D0E jsr [PC + 0xD0E /* 00000F3A */]
0000022E 544F addq.w A7, 2
00000230 7000 moveq.l D0, 0x00
00000232 6000 FF16 bra -0xE8 /* 0000014A */
label00000236:
00000236 2D7C 0000 0002 FFFA move.l [A6 - 0x6], 0x2
0000023E 486D FDA8 pea.l [A5 - 0x258]
00000242 486E FFFA pea.l [A6 - 0x6]
00000246 3F2D FEB6 move.w -[A7], [A5 - 0x14A]
0000024A 4EBA 1248 jsr [PC + 0x1248 /* 00001494 */]
0000024E 4FEF 000A lea.l A7, [A7 + 0xA]
00000252 3D40 FFFE move.w [A6 - 0x2], D0
00000256 6710 beq +0x12 /* 00000268 */
00000258 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000025C 4EBA 0CDC jsr [PC + 0xCDC /* 00000F3A */]
00000260 544F addq.w A7, 2
00000262 7000 moveq.l D0, 0x00
00000264 6000 FEE4 bra -0x11A /* 0000014A */
label00000268:
00000268 302D FDA8 move.w D0, [A5 - 0x258]
0000026C C1FC 0014 muls.w D0, 0x14
00000270 2D40 FFFA move.l [A6 - 0x6], D0
00000274 A11E syscall NewPtr, flags=1
00000276 6610 bne +0x12 /* 00000288 */
00000278 2B48 FDAE move.l [A5 - 0x252], A0
0000027C 302D FDA8 move.w D0, [A5 - 0x258]
00000280 48C0 ext.l D0
00000282 E580 asl D0, 2
00000284 A11E syscall NewPtr, flags=1
00000286 670E beq +0x10 /* 00000296 */
label00000288:
00000288 3F00 move.w -[A7], D0
0000028A 4EBA 0CAE jsr [PC + 0xCAE /* 00000F3A */]
0000028E 544F addq.w A7, 2
00000290 7000 moveq.l D0, 0x00
00000292 6000 FEB6 bra -0x148 /* 0000014A */
label00000296:
00000296 2B48 FDB2 move.l [A5 - 0x24E], A0
0000029A 2F2D FDAE move.l -[A7], [A5 - 0x252]
0000029E 486E FFFA pea.l [A6 - 0x6]
000002A2 3F2D FEB6 move.w -[A7], [A5 - 0x14A]
000002A6 4EBA 11EC jsr [PC + 0x11EC /* 00001494 */]
000002AA 4FEF 000A lea.l A7, [A7 + 0xA]
000002AE 3D40 FFFE move.w [A6 - 0x2], D0
000002B2 6710 beq +0x12 /* 000002C4 */
000002B4 3F2E FFFE move.w -[A7], [A6 - 0x2]
000002B8 4EBA 0C80 jsr [PC + 0xC80 /* 00000F3A */]
000002BC 544F addq.w A7, 2
000002BE 7000 moveq.l D0, 0x00
000002C0 6000 FE88 bra -0x176 /* 0000014A */
label000002C4:
000002C4 362D FEE8 move.w D3, [A5 - 0x118]
000002C8 4443 neg.w D3
000002CA 48C3 ext.l D3
000002CC 87FC 0002 divs.w D3, 0x2
000002D0 48C3 ext.l D3
000002D2 2B43 FEE4 move.l [A5 - 0x11C], D3
000002D6 426E FFF8 clr.w [A6 - 0x8]
000002DA 4EFA 0318 jmp [PC + 0x318 /* 000005F4 */]
label000002DE:
000002DE 362E FFF8 move.w D3, [A6 - 0x8]
000002E2 C7FC 0014 muls.w D3, 0x14
000002E6 2443 movea.l A2, D3
000002E8 D5ED FDAE add.l A2, [A5 - 0x252]
000002EC 262A 0008 move.l D3, [A2 + 0x8]
000002F0 D7AD FEE4 add.l [A5 - 0x11C], D3
000002F4 0C92 5445 5854 cmpi.l [A2], 0x54455854 /* 'TEXT' */
000002FA 6600 02B2 bne +0x2B4 /* 000005AE */
000002FE 362E FFF8 move.w D3, [A6 - 0x8]
00000302 C7FC 0014 muls.w D3, 0x14
00000306 2443 movea.l A2, D3
00000308 D5ED FDAE add.l A2, [A5 - 0x252]
0000030C 2D6A 0004 FFFA move.l [A6 - 0x6], [A2 + 0x4]
00000312 362E FFF8 move.w D3, [A6 - 0x8]
00000316 C7FC 0014 muls.w D3, 0x14
0000031A 2443 movea.l A2, D3
0000031C D5ED FDAE add.l A2, [A5 - 0x252]
00000320 2F2A 0010 move.l -[A7], [A2 + 0x10]
00000324 3F3C 0001 move.w -[A7], 0x1
00000328 3F2D FEB6 move.w -[A7], [A5 - 0x14A]
0000032C 4EBA 11C2 jsr [PC + 0x11C2 /* 000014F0 */]
00000330 504F addq.w A7, 8
00000332 3D40 FFFE move.w [A6 - 0x2], D0
00000336 6710 beq +0x12 /* 00000348 */
00000338 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000033C 4EBA 0BFC jsr [PC + 0xBFC /* 00000F3A */]
00000340 544F addq.w A7, 2
00000342 7000 moveq.l D0, 0x00
00000344 6000 FE04 bra -0x1FA /* 0000014A */
label00000348:
00000348 202E FFFA move.l D0, [A6 - 0x6]
0000034C A122 syscall NewHandle, flags=1
0000034E 670C beq +0xE /* 0000035C */
00000350 3F3C 0002 move.w -[A7], 0x2
00000354 A9C8 syscall SysBeep
00000356 7000 moveq.l D0, 0x00
00000358 6000 FDF0 bra -0x20E /* 0000014A */
label0000035C:
0000035C 2D48 FFF4 move.l [A6 - 0xC], A0
00000360 A029 syscall HLock
00000362 246E FFF4 movea.l A2, [A6 - 0xC]
00000366 2F12 move.l -[A7], [A2]
00000368 486E FFFA pea.l [A6 - 0x6]
0000036C 3F2D FEB6 move.w -[A7], [A5 - 0x14A]
00000370 4EBA 1122 jsr [PC + 0x1122 /* 00001494 */]
00000374 4FEF 000A lea.l A7, [A7 + 0xA]
00000378 3D40 FFFE move.w [A6 - 0x2], D0
0000037C 6710 beq +0x12 /* 0000038E */
0000037E 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000382 4EBA 0BB6 jsr [PC + 0xBB6 /* 00000F3A */]
00000386 544F addq.w A7, 2
00000388 7000 moveq.l D0, 0x00
0000038A 6000 FDBE bra -0x240 /* 0000014A */
label0000038E:
0000038E 362E FFF8 move.w D3, [A6 - 0x8]
00000392 C7FC 0014 muls.w D3, 0x14
00000396 2443 movea.l A2, D3
00000398 D5ED FDAE add.l A2, [A5 - 0x252]
0000039C 162A 000E move.b D3, [A2 + 0xE]
000003A0 4883 ext.w D3
000003A2 3F03 move.w -[A7], D3
000003A4 162A 000D move.b D3, [A2 + 0xD]
000003A8 4883 ext.w D3
000003AA 3F03 move.w -[A7], D3
000003AC 162A 000C move.b D3, [A2 + 0xC]
000003B0 4883 ext.w D3
000003B2 3F03 move.w -[A7], D3
000003B4 A887 syscall TextFont
000003B6 A88A syscall TextSize
000003B8 A888 syscall TextFace
000003BA 246E FFF4 movea.l A2, [A6 - 0xC]
000003BE 2652 movea.l A3, [A2]
000003C0 362E FFF8 move.w D3, [A6 - 0x8]
000003C4 48C3 ext.l D3
000003C6 E583 asl D3, 2
000003C8 246D FDB2 movea.l A2, [A5 - 0x24E]
000003CC 203C 0000 0002 move.l D0, 0x2
000003D2 A122 syscall NewHandle, flags=1
000003D4 670E beq +0x10 /* 000003E4 */
000003D6 3F00 move.w -[A7], D0
000003D8 4EBA 0B60 jsr [PC + 0xB60 /* 00000F3A */]
000003DC 544F addq.w A7, 2
000003DE 7000 moveq.l D0, 0x00
000003E0 6000 FD68 bra -0x296 /* 0000014A */
label000003E4:
000003E4 2588 3800 move.l [A2 + D3], A0
000003E8 42AE FFEE clr.l [A6 - 0x12]
000003EC 7C00 moveq.l D6, 0x00
000003EE 426E FFEC clr.w [A6 - 0x14]
000003F2 7A01 moveq.l D5, 0x01
000003F4 2D6E FFFA FFE8 move.l [A6 - 0x18], [A6 - 0x6]
000003FA 7800 moveq.l D4, 0x00
000003FC 4EFA 0130 jmp [PC + 0x130 /* 0000052E */]
label00000400:
00000400 1633 4800 move.b D3, [A3 + D4]
00000404 0243 00FF andi.w D3, 0xFF
00000408 0C43 000D cmpi.w D3, 0xD /* '\r' */
0000040C 6706 beq +0x8 /* 00000414 */
0000040E 0C45 00FF cmpi.w D5, 0xFF
00000412 6648 bne +0x4A /* 0000045C */
label00000414:
00000414 52AE FFEE addq.l [A6 - 0x12], 1
00000418 202E FFEE move.l D0, [A6 - 0x12]
0000041C 362E FFF8 move.w D3, [A6 - 0x8]
00000420 48C3 ext.l D3
00000422 E583 asl D3, 2
00000424 246D FDB2 movea.l A2, [A5 - 0x24E]
00000428 2072 3800 movea.l A0, [A2 + D3]
0000042C A024 syscall SetHandleSize
0000042E 3D40 FFFE move.w [A6 - 0x2], D0
00000432 6600 0102 bne +0x104 /* 00000536 */
00000436 362E FFF8 move.w D3, [A6 - 0x8]
0000043A 48C3 ext.l D3
0000043C E583 asl D3, 2
0000043E 246D FDB2 movea.l A2, [A5 - 0x24E]
00000442 2272 3800 movea.l A1, [A2 + D3]
00000446 2451 movea.l A2, [A1]
00000448 D5EE FFEE add.l A2, [A6 - 0x12]
0000044C 1545 FFFF move.b [A2 - 0x1], D5
00000450 7C00 moveq.l D6, 0x00
00000452 426E FFEC clr.w [A6 - 0x14]
00000456 7A00 moveq.l D5, 0x00
00000458 4EFA 00D0 jmp [PC + 0xD0 /* 0000052A */]
label0000045C:
0000045C 4267 clr.w -[A7]
0000045E 1633 4800 move.b D3, [A3 + D4]
00000462 0243 00FF andi.w D3, 0xFF
00000466 3F03 move.w -[A7], D3
00000468 A88D syscall CharWidth
0000046A 301F move.w D0, [A7]+
0000046C DC40 add.w D6, D0
0000046E 1633 4800 move.b D3, [A3 + D4]
00000472 0243 00FF andi.w D3, 0xFF
00000476 0C43 0020 cmpi.w D3, 0x20 /* ' ' */
0000047A 670E beq +0x10 /* 0000048A */
0000047C 1633 4800 move.b D3, [A3 + D4]
00000480 0243 00FF andi.w D3, 0xFF
00000484 0C43 0009 cmpi.w D3, 0x9 /* '\t' */
00000488 6604 bne +0x6 /* 0000048E */
label0000048A:
0000048A 3D45 FFEC move.w [A6 - 0x14], D5
label0000048E:
0000048E 0C46 01E0 cmpi.w D6, 0x1E0
00000492 6F00 0096 ble +0x98 /* 0000052A */
00000496 4A6E FFEC tst.w [A6 - 0x14]
0000049A 6748 beq +0x4A /* 000004E4 */
0000049C 3605 move.w D3, D5
0000049E 966E FFEC sub.w D3, [A6 - 0x14]
000004A2 48C3 ext.l D3
000004A4 9883 sub.l D4, D3
000004A6 52AE FFEE addq.l [A6 - 0x12], 1
000004AA 202E FFEE move.l D0, [A6 - 0x12]
000004AE 362E FFF8 move.w D3, [A6 - 0x8]
000004B2 48C3 ext.l D3
000004B4 E583 asl D3, 2
000004B6 246D FDB2 movea.l A2, [A5 - 0x24E]
000004BA 2072 3800 movea.l A0, [A2 + D3]
000004BE A024 syscall SetHandleSize
000004C0 3D40 FFFE move.w [A6 - 0x2], D0
000004C4 6670 bne +0x72 /* 00000536 */
000004C6 362E FFF8 move.w D3, [A6 - 0x8]
000004CA 48C3 ext.l D3
000004CC E583 asl D3, 2
000004CE 246D FDB2 movea.l A2, [A5 - 0x24E]
000004D2 2272 3800 movea.l A1, [A2 + D3]
000004D6 2451 movea.l A2, [A1]
000004D8 D5EE FFEE add.l A2, [A6 - 0x12]
000004DC 156E FFED FFFF move.b [A2 - 0x1], [A6 - 0x13]
000004E2 603E bra +0x40 /* 00000522 */
label000004E4:
000004E4 52AE FFEE addq.l [A6 - 0x12], 1
000004E8 206E FFEE movea.l A0, [A6 - 0x12]
000004EC 362E FFF8 move.w D3, [A6 - 0x8]
000004F0 48C3 ext.l D3
000004F2 E583 asl D3, 2
000004F4 246D FDB2 movea.l A2, [A5 - 0x24E]
000004F8 2072 3800 movea.l A0, [A2 + D3]
000004FC A024 syscall SetHandleSize
000004FE 3D40 FFFE move.w [A6 - 0x2], D0
00000502 6632 bne +0x34 /* 00000536 */
00000504 362E FFF8 move.w D3, [A6 - 0x8]
00000508 48C3 ext.l D3
0000050A E583 asl D3, 2
0000050C 246D FDB2 movea.l A2, [A5 - 0x24E]
00000510 2272 3800 movea.l A1, [A2 + D3]
00000514 2451 movea.l A2, [A1]
00000516 D5EE FFEE add.l A2, [A6 - 0x12]
0000051A 5345 subq.w D5, 1
0000051C 1545 FFFF move.b [A2 - 0x1], D5
00000520 5384 subq.l D4, 1
label00000522:
00000522 426E FFEC clr.w [A6 - 0x14]
00000526 7A00 moveq.l D5, 0x00
00000528 3C05 move.w D6, D5
label0000052A:
0000052A 5284 addq.l D4, 1
0000052C 5245 addq.w D5, 1
label0000052E:
0000052E B8AE FFE8 cmp.l D4, [A6 - 0x18]
00000532 6D00 FECC blt -0x132 /* 00000400 */
label00000536:
00000536 4A6E FFFE tst.w [A6 - 0x2]
0000053A 670E beq +0x10 /* 0000054A */
0000053C 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000540 4EBA 09F8 jsr [PC + 0x9F8 /* 00000F3A */]
00000544 544F addq.w A7, 2
00000546 6000 FC02 bra -0x3FC /* 0000014A */
label0000054A:
0000054A 4A45 tst.w D5
0000054C 6744 beq +0x46 /* 00000592 */
0000054E 52AE FFEE addq.l [A6 - 0x12], 1
00000552 202E FFEE move.l D0, [A6 - 0x12]
00000556 362E FFF8 move.w D3, [A6 - 0x8]
0000055A 48C3 ext.l D3
0000055C E583 asl D3, 2
0000055E 246D FDB2 movea.l A2, [A5 - 0x24E]
00000562 2072 3800 movea.l A0, [A2 + D3]
00000566 A024 syscall SetHandleSize
00000568 3D40 FFFE move.w [A6 - 0x2], D0
0000056C 6706 beq +0x8 /* 00000574 */
0000056E 7000 moveq.l D0, 0x00
00000570 6000 FBD8 bra -0x426 /* 0000014A */
label00000574:
00000574 362E FFF8 move.w D3, [A6 - 0x8]
00000578 48C3 ext.l D3
0000057A E583 asl D3, 2
0000057C 246D FDB2 movea.l A2, [A5 - 0x24E]
00000580 2272 3800 movea.l A1, [A2 + D3]
00000584 2451 movea.l A2, [A1]
00000586 D5EE FFEE add.l A2, [A6 - 0x12]
0000058A 3605 move.w D3, D5
0000058C 5343 subq.w D3, 1
0000058E 1543 FFFF move.b [A2 - 0x1], D3
label00000592:
00000592 206E FFF4 movea.l A0, [A6 - 0xC]
00000596 A02A syscall HUnlock
00000598 6042 bra +0x44 /* 000005DC */
0000059A 362E FFF8 move.w D3, [A6 - 0x8]
0000059E C7FC 0014 muls.w D3, 0x14
000005A2 2443 movea.l A2, D3
000005A4 D5ED FDAE add.l A2, [A5 - 0x252]
000005A8 256E FFF4 0010 move.l [A2 + 0x10], [A6 - 0xC]
label000005AE:
000005AE 0C92 5049 4354 cmpi.l [A2], 0x50494354 /* 'PICT' */
000005B4 6620 bne +0x22 /* 000005D6 */
000005B6 42A7 clr.l -[A7]
000005B8 3F2A 0012 move.w -[A7], [A2 + 0x12]
000005BC A9BC syscall GetPicture
000005BE 4267 clr.w -[A7]
000005C0 A9AF syscall ResError
000005C2 301F move.w D0, [A7]+
000005C4 6700 0008 beq +0xA /* 000005CE */
000005C8 7000 moveq.l D0, 0x00
000005CA 6000 FB7E bra -0x480 /* 0000014A */
label000005CE:
000005CE 2D5F FFF4 move.l [A6 - 0xC], [A7]+
000005D2 4EFA 0008 jmp [PC + 0x8 /* 000005DC */]
label000005D6:
000005D6 7000 moveq.l D0, 0x00
000005D8 6000 FB70 bra -0x48E /* 0000014A */
label000005DC:
000005DC 362E FFF8 move.w D3, [A6 - 0x8]
000005E0 C7FC 0014 muls.w D3, 0x14
000005E4 2443 movea.l A2, D3
000005E6 D5ED FDAE add.l A2, [A5 - 0x252]
000005EA 256E FFF4 0010 move.l [A2 + 0x10], [A6 - 0xC]
000005F0 526E FFF8 addq.w [A6 - 0x8], 1
label000005F4:
000005F4 362E FFF8 move.w D3, [A6 - 0x8]
000005F8 B66D FDA8 cmp.w D3, [A5 - 0x258]
000005FC 6D00 FCE0 blt -0x31E /* 000002DE */
00000600 202D FEE4 move.l D0, [A5 - 0x11C]
00000604 5E80 addq.l D0, 7
00000606 7208 moveq.l D1, 0x08
00000608 4EBA 0F18 jsr [PC + 0xF18 /* 00001522 */]
0000060C 2B40 FEE4 move.l [A5 - 0x11C], D0
00000610 202D FEE4 move.l D0, [A5 - 0x11C]
00000614 7208 moveq.l D1, 0x08
00000616 4EBA 0F8A jsr [PC + 0xF8A /* 000015A2 */]
0000061A 2B40 FEE4 move.l [A5 - 0x11C], D0
0000061E 362D FEE8 move.w D3, [A5 - 0x118]
00000622 48C3 ext.l D3
00000624 87FC 0002 divs.w D3, 0x2
00000628 48C3 ext.l D3
0000062A 242D FEE4 move.l D2, [A5 - 0x11C]
0000062E B483 cmp.l D2, D3
00000630 6C04 bge +0x6 /* 00000636 */
00000632 42AD FEE4 clr.l [A5 - 0x11C]
label00000636:
00000636 3F2D FEB6 move.w -[A7], [A5 - 0x14A]
0000063A 4EBA 0E1A jsr [PC + 0xE1A /* 00001456 */]
0000063E 544F addq.w A7, 2
00000640 486D FF90 pea.l [A5 - 0x70]
00000644 A851 syscall SetCursor
00000646 2F2D FEB8 move.l -[A7], [A5 - 0x148]
0000064A 2F3C 0000 0910 move.l -[A7], 0x910
00000650 A91A syscall SetWTitle
00000652 70FF moveq.l D0, 0xFFFFFFFF
00000654 6000 FAF4 bra -0x50A /* 0000014A */
fn00000658:
00000658 4E56 FFEE link A6, -0x0012
0000065C 1B7C 00FF FEFA move.b [A5 - 0x106], 0xFF
00000662 2F2D FEB8 move.l -[A7], [A5 - 0x148]
00000666 A91F syscall SelectWindow
00000668 2F2D FEB8 move.l -[A7], [A5 - 0x148]
0000066C A873 syscall SetPort
0000066E 486D FEC0 pea.l [A5 - 0x140]
00000672 246D FEB8 movea.l A2, [A5 - 0x148]
00000676 362A 0016 move.w D3, [A2 + 0x16]
0000067A 0443 0010 subi.w D3, 0x10
0000067E 3F03 move.w -[A7], D3
00000680 246D FEB8 movea.l A2, [A5 - 0x148]
00000684 362A 0010 move.w D3, [A2 + 0x10]
00000688 5343 subq.w D3, 1
0000068A 3F03 move.w -[A7], D3
0000068C 246D FEB8 movea.l A2, [A5 - 0x148]
00000690 3F2A 0016 move.w -[A7], [A2 + 0x16]
00000694 246D FEB8 movea.l A2, [A5 - 0x148]
00000698 362A 0014 move.w D3, [A2 + 0x14]
0000069C 5243 addq.w D3, 1
0000069E 3F03 move.w -[A7], D3
000006A0 A8A7 syscall SetRect
000006A2 42A7 clr.l -[A7]
000006A4 2F2D FEB8 move.l -[A7], [A5 - 0x148]
000006A8 486D FEC0 pea.l [A5 - 0x140]
000006AC 487A 0350 pea.l [PC + 0x350 /* 000009FE, value 0x4E56 'NV', cstring "" */]
000006B0 3F3C FFFF move.w -[A7], 0xFFFF
000006B4 4267 clr.w -[A7]
000006B6 4267 clr.w -[A7]
000006B8 202D FEE4 move.l D0, [A5 - 0x11C]
000006BC 7208 moveq.l D1, 0x08
000006BE 4EBA 0E62 jsr [PC + 0xE62 /* 00001522 */]
000006C2 3F00 move.w -[A7], D0
000006C4 3F3C 0010 move.w -[A7], 0x10
000006C8 42A7 clr.l -[A7]
000006CA A954 syscall NewControl
000006CC 201F move.l D0, [A7]+
000006CE 2B40 FEBC move.l [A5 - 0x144], D0
000006D2 486D FEC0 pea.l [A5 - 0x140]
000006D6 A92A syscall ValidRect
label000006D8:
000006D8 4267 clr.w -[A7]
000006DA 3F3C FFFF move.w -[A7], 0xFFFF
000006DE 486D FED0 pea.l [A5 - 0x130]
000006E2 A970 syscall GetNextEvent
000006E4 101F move.b D0, [A7]+
000006E6 6700 02F4 beq +0x2F6 /* 000009DC */
000006EA 302D FED0 move.w D0, [A5 - 0x130]
000006EE 4EFA 02DC jmp [PC + 0x2DC /* 000009CC */]
000006F2 4267 clr.w -[A7]
000006F4 2F2D FEDA move.l -[A7], [A5 - 0x126]
000006F8 486E FFF6 pea.l [A6 - 0xA]
000006FC A92C syscall FindWindow
000006FE 301F move.w D0, [A7]+
00000700 3D40 FFFE move.w [A6 - 0x2], D0
00000704 302E FFFE move.w D0, [A6 - 0x2]
00000708 4EFA 0178 jmp [PC + 0x178 /* 00000882 */]
0000070C 486D FED0 pea.l [A5 - 0x130]
00000710 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00000714 A9B3 syscall SystemClick
00000716 4EFA 017A jmp [PC + 0x17A /* 00000892 */]
0000071A 4EBA 0438 jsr [PC + 0x438 /* 00000B54 */]
0000071E 4EFA 0172 jmp [PC + 0x172 /* 00000892 */]
00000722 42A7 clr.l -[A7]
00000724 A924 syscall FrontWindow
00000726 201F move.l D0, [A7]+
00000728 246E FFF6 movea.l A2, [A6 - 0xA]
0000072C B5C0 cmpa.l A2, D0
0000072E 6708 beq +0xA /* 00000738 */
00000730 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00000734 A91F syscall SelectWindow
00000736 601A bra +0x1C /* 00000752 */
label00000738:
00000738 4267 clr.w -[A7]
0000073A 2F2E FFF6 move.l -[A7], [A6 - 0xA]
0000073E 2F2D FEDA move.l -[A7], [A5 - 0x126]
00000742 A91E syscall TrackGoAway
00000744 101F move.b D0, [A7]+
00000746 670A beq +0xC /* 00000752 */
00000748 2F2E FFF6 move.l -[A7], [A6 - 0xA]
0000074C 4EBA 053A jsr [PC + 0x53A /* 00000C88 */]
00000750 584F addq.w A7, 4
label00000752:
00000752 4EFA 013E jmp [PC + 0x13E /* 00000892 */]
00000756 42A7 clr.l -[A7]
00000758 A924 syscall FrontWindow
0000075A 201F move.l D0, [A7]+
0000075C 246E FFF6 movea.l A2, [A6 - 0xA]
00000760 B5C0 cmpa.l A2, D0
00000762 670A beq +0xC /* 0000076E */
00000764 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00000768 A91F syscall SelectWindow
0000076A 4EFA 0126 jmp [PC + 0x126 /* 00000892 */]
label0000076E:
0000076E 486D FEDA pea.l [A5 - 0x126]
00000772 A871 syscall GlobalToLocal
00000774 4267 clr.w -[A7]
00000776 2F2D FEDA move.l -[A7], [A5 - 0x126]
0000077A 2F2E FFF6 move.l -[A7], [A6 - 0xA]
0000077E 486E FFF2 pea.l [A6 - 0xE]
00000782 A96C syscall FindControl
00000784 301F move.w D0, [A7]+
00000786 3D40 FFFE move.w [A6 - 0x2], D0
0000078A 246E FFF2 movea.l A2, [A6 - 0xE]
0000078E B5ED FEBC cmpa.l A2, [A5 - 0x144]
00000792 6600 00DA bne +0xDC /* 0000086E */
00000796 302E FFFE move.w D0, [A6 - 0x2]
0000079A 4EFA 00B2 jmp [PC + 0xB2 /* 0000084E */]
label0000079E:
0000079E 4267 clr.w -[A7]
000007A0 2F2D FEBC move.l -[A7], [A5 - 0x144]
000007A4 2F2D FEDA move.l -[A7], [A5 - 0x126]
000007A8 487A 05F0 pea.l [PC + 0x5F0 /* 00000D9A, value 0x4E560000 'NV\0\0', cstring "NV" */]
000007AC A968 syscall TrackControl
000007AE 301F move.w D0, [A7]+
000007B0 3D40 FFFE move.w [A6 - 0x2], D0
000007B4 4EFA 00B6 jmp [PC + 0xB6 /* 0000086C */]
label000007B8:
000007B8 4267 clr.w -[A7]
000007BA 2F2D FEBC move.l -[A7], [A5 - 0x144]
000007BE 2F2D FEDA move.l -[A7], [A5 - 0x126]
000007C2 487A 0634 pea.l [PC + 0x634 /* 00000DF8, value 0x4E560000 'NV\0\0', cstring "NV" */]
000007C6 A968 syscall TrackControl
000007C8 301F move.w D0, [A7]+
000007CA 3D40 FFFE move.w [A6 - 0x2], D0
000007CE 4EFA 009C jmp [PC + 0x9C /* 0000086C */]
label000007D2:
000007D2 4267 clr.w -[A7]
000007D4 2F2D FEBC move.l -[A7], [A5 - 0x144]
000007D8 2F2D FEDA move.l -[A7], [A5 - 0x126]
000007DC 487A 067C pea.l [PC + 0x67C /* 00000E5A, value 0x4E560000 'NV\0\0', cstring "NV" */]
000007E0 A968 syscall TrackControl
000007E2 301F move.w D0, [A7]+
000007E4 3D40 FFFE move.w [A6 - 0x2], D0
000007E8 4EFA 0082 jmp [PC + 0x82 /* 0000086C */]
label000007EC:
000007EC 4267 clr.w -[A7]
000007EE 2F2D FEBC move.l -[A7], [A5 - 0x144]
000007F2 2F2D FEDA move.l -[A7], [A5 - 0x126]
000007F6 487A 06CE pea.l [PC + 0x6CE /* 00000EC6, value 0x4E560000 'NV\0\0', cstring "NV" */]
000007FA A968 syscall TrackControl
000007FC 301F move.w D0, [A7]+
000007FE 3D40 FFFE move.w [A6 - 0x2], D0
00000802 6068 bra +0x6A /* 0000086C */
label00000804:
00000804 4267 clr.w -[A7]
00000806 2F2D FEBC move.l -[A7], [A5 - 0x144]
0000080A 2F2D FEDA move.l -[A7], [A5 - 0x126]
0000080E 42A7 clr.l -[A7]
00000810 A968 syscall TrackControl
00000812 301F move.w D0, [A7]+
00000814 3D40 FFFE move.w [A6 - 0x2], D0
00000818 4267 clr.w -[A7]
0000081A 2F2D FEBC move.l -[A7], [A5 - 0x144]
0000081E A960 syscall GetControlValue/GetCtlValue
00000820 301F move.w D0, [A7]+
00000822 48C0 ext.l D0
00000824 2D40 FFFA move.l [A6 - 0x6], D0
00000828 202E FFFA move.l D0, [A6 - 0x6]
0000082C 7208 moveq.l D1, 0x08
0000082E 4EBA 0D72 jsr [PC + 0xD72 /* 000015A2 */]
00000832 2D40 FFFA move.l [A6 - 0x6], D0
00000836 262D FEE0 move.l D3, [A5 - 0x120]
0000083A B6AE FFFA cmp.l D3, [A6 - 0x6]
0000083E 670C beq +0xE /* 0000084C */
00000840 2B6E FFFA FEE0 move.l [A5 - 0x120], [A6 - 0x6]
00000846 486D FEC8 pea.l [A5 - 0x138]
0000084A A928 syscall InvalRect
label0000084C:
0000084C 601E bra +0x20 /* 0000086C */
label0000084E:
0000084E 0440 0014 subi.w D0, 0x14
00000852 6700 FF4A beq -0xB4 /* 0000079E */
00000856 5340 subq.w D0, 1
00000858 6700 FF5E beq -0xA0 /* 000007B8 */
0000085C 5340 subq.w D0, 1
0000085E 6700 FF72 beq -0x8C /* 000007D2 */
00000862 5340 subq.w D0, 1
00000864 6786 beq -0x78 /* 000007EC */
00000866 0440 006A subi.w D0, 0x6A /* 'j' */
0000086A 6798 beq -0x66 /* 00000804 */
label0000086C:
0000086C 6004 bra +0x6 /* 00000872 */
label0000086E:
0000086E 4EBA 0190 jsr [PC + 0x190 /* 00000A00 */]
label00000872:
00000872 601E bra +0x20 /* 00000892 */
00000874 0002 FE8A ori.b D2, 0x8A
00000878 FE7C FEC6 .extension 0xE7C <<F/1/7>>, 0xFEC6 // unimplemented
0000087C 0002 0002 ori.b D2, 0x2
00000880 FE92 0C40 .extension 0xE92 <<F/2-3/7>> // unimplemented
// begin alternate branch 00000882-00000888
label00000882:
00000882 0C40 0007 cmpi.w D0, 0x7
00000886 640A bcc +0xC /* 00000892 */
// end alternate branch 00000882-00000888
label00000882: // (misaligned)
00000884 0007 640A ori.b D7, 0xA /* '\n' */
00000888 E340 asl D0.w, 1
0000088A 303B 00E8 move.w D0, [PC + D0.w - 0x24]
0000088E 4EFB 0000 jmp [PC + D0.w]
label00000892:
00000892 4EFA 0148 jmp [PC + 0x148 /* 000009DC */]
00000896 362D FEDE move.w D3, [A5 - 0x122]
0000089A 0243 0100 andi.w D3, 0x100
0000089E 6718 beq +0x1A /* 000008B8 */
000008A0 42A7 clr.l -[A7]
000008A2 262D FED2 move.l D3, [A5 - 0x12E]
000008A6 4883 ext.w D3
000008A8 3F03 move.w -[A7], D3
000008AA A93E syscall MenuKey
000008AC 201F move.l D0, [A7]+
000008AE 2F00 move.l -[A7], D0
000008B0 4EBA 02C0 jsr [PC + 0x2C0 /* 00000B72 */]
000008B4 584F addq.w A7, 4
000008B6 6006 bra +0x8 /* 000008BE */
label000008B8:
000008B8 3F3C 0002 move.w -[A7], 0x2
000008BC A9C8 syscall SysBeep
label000008BE:
000008BE 4EFA 011C jmp [PC + 0x11C /* 000009DC */]
000008C2 246D FED2 movea.l A2, [A5 - 0x12E]
000008C6 B5ED FEB8 cmpa.l A2, [A5 - 0x148]
000008CA 6628 bne +0x2A /* 000008F4 */
000008CC 486E FFEE pea.l [A6 - 0x12]
000008D0 A874 syscall GetPort
000008D2 2F2D FEB8 move.l -[A7], [A5 - 0x148]
000008D6 A873 syscall SetPort
000008D8 2F2D FEB8 move.l -[A7], [A5 - 0x148]
000008DC A922 syscall BeginUpdate
000008DE 4EBA 03D0 jsr [PC + 0x3D0 /* 00000CB0 */]
000008E2 2F2D FEB8 move.l -[A7], [A5 - 0x148]
000008E6 A969 syscall DrawControls
000008E8 2F2D FEB8 move.l -[A7], [A5 - 0x148]
000008EC A923 syscall EndUpdate
000008EE 2F2E FFEE move.l -[A7], [A6 - 0x12]
000008F2 A873 syscall SetPort
label000008F4:
000008F4 4EFA 00E6 jmp [PC + 0xE6 /* 000009DC */]
000008F8 2D6D FED2 FFF6 move.l [A6 - 0xA], [A5 - 0x12E]
000008FE 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00000902 A873 syscall SetPort
00000904 362D FEDE move.w D3, [A5 - 0x122]
00000908 0243 0001 andi.w D3, 0x1
0000090C 6756 beq +0x58 /* 00000964 */
0000090E 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000912 4267 clr.w -[A7]
00000914 A95D syscall HiliteControl
00000916 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
0000091A 3F3C 0001 move.w -[A7], 0x1
0000091E A93A syscall DisableItem
00000920 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
00000924 3F3C 0003 move.w -[A7], 0x3
00000928 A93A syscall DisableItem
0000092A 0C6D 0000 FDAA cmpi.w [A5 - 0x256], 0x0
00000930 6C0C bge +0xE /* 0000093E */
00000932 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
00000936 3F3C 0004 move.w -[A7], 0x4
0000093A A93A syscall DisableItem
0000093C 6010 bra +0x12 /* 0000094E */
label0000093E:
0000093E 4A2D FDAC tst.b [A5 - 0x254]
00000942 660A bne +0xC /* 0000094E */
00000944 4EBA 0150 jsr [PC + 0x150 /* 00000A96 */]
00000948 1B7C 00FF FDAC move.b [A5 - 0x254], 0xFF
label0000094E:
0000094E 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
00000952 3F3C 0005 move.w -[A7], 0x5
00000956 A93A syscall DisableItem
00000958 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
0000095C 3F3C 0006 move.w -[A7], 0x6
00000960 A93A syscall DisableItem
00000962 6052 bra +0x54 /* 000009B6 */
label00000964:
00000964 2F2D FEBC move.l -[A7], [A5 - 0x144]
00000968 3F3C 00FF move.w -[A7], 0xFF
0000096C A95D syscall HiliteControl
0000096E 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
00000972 3F3C 0001 move.w -[A7], 0x1
00000976 A939 syscall EnableItem
00000978 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
0000097C 3F3C 0003 move.w -[A7], 0x3
00000980 A939 syscall EnableItem
00000982 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
00000986 3F3C 0004 move.w -[A7], 0x4
0000098A A939 syscall EnableItem
0000098C 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
00000990 3F3C 0005 move.w -[A7], 0x5
00000994 A939 syscall EnableItem
00000996 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
0000099A 3F3C 0006 move.w -[A7], 0x6
0000099E A939 syscall EnableItem
000009A0 0C6D 0000 FDAA cmpi.w [A5 - 0x256], 0x0
000009A6 6D0E blt +0x10 /* 000009B6 */
000009A8 4A2D FDAC tst.b [A5 - 0x254]
000009AC 6708 beq +0xA /* 000009B6 */
000009AE 4EBA 00E6 jsr [PC + 0xE6 /* 00000A96 */]
000009B2 422D FDAC clr.b [A5 - 0x254]
label000009B6:
000009B6 A937 syscall DrawMenuBar
000009B8 6022 bra +0x24 /* 000009DC */
000009BA 0002 FD18 ori.b D2, 0x18
000009BE 0002 FEBC ori.b D2, 0xBC
000009C2 0002 0002 ori.b D2, 0x2
000009C6 FEE8 0002 .extension 0xEE8 <<F/2-3/7>> // unimplemented
000009CA FF1E .extension 0xF1E <<F/4-5/7>> // unimplemented
label000009CC:
000009CC 0C40 0009 cmpi.w D0, 0x9 /* '\t' */
000009D0 640A bcc +0xC /* 000009DC */
000009D2 E340 asl D0.w, 1
000009D4 303B 00E4 move.w D0, [PC + D0.w - 0x28]
000009D8 4EFB 0000 jmp [PC + D0.w]
label000009DC:
000009DC 4A2D FEFA tst.b [A5 - 0x106]
000009E0 6600 FCF6 bne -0x308 /* 000006D8 */
label000009E4:
000009E4 42A7 clr.l -[A7]
000009E6 A924 syscall FrontWindow
000009E8 2D5F FFF6 move.l [A6 - 0xA], [A7]+
000009EC 670C beq +0xE /* 000009FA */
000009EE 2F2E FFF6 move.l -[A7], [A6 - 0xA]
000009F2 4EBA 0294 jsr [PC + 0x294 /* 00000C88 */]
000009F6 584F addq.w A7, 4
000009F8 60EA bra -0x14 /* 000009E4 */
label000009FA:
000009FA 4E5E unlink A6
000009FC 4E75 rts
000009FE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000A00-00000A04
fn00000A00:
00000A00 4E56 FFF4 link A6, -0x000C
// end alternate branch 00000A00-00000A04
fn00000A00: // (misaligned)
00000A02 FFF4 .invalid <<F/7/7>>
00000A04 2F04 move.l -[A7], D4
00000A06 486E FFFC pea.l [A6 - 0x4]
00000A0A A972 syscall GetMouse
00000A0C 362E FFFC move.w D3, [A6 - 0x4]
00000A10 48C3 ext.l D3
00000A12 D6AD FEE0 add.l D3, [A5 - 0x120]
00000A16 2D43 FFF8 move.l [A6 - 0x8], D3
00000A1A 7600 moveq.l D3, 0x00
00000A1C 3803 move.w D4, D3
00000A1E 48C3 ext.l D3
00000A20 2D43 FFF4 move.l [A6 - 0xC], D3
00000A24 6020 bra +0x22 /* 00000A46 */
label00000A26:
00000A26 3604 move.w D3, D4
00000A28 C7FC 0014 muls.w D3, 0x14
00000A2C 2443 movea.l A2, D3
00000A2E D5ED FDAE add.l A2, [A5 - 0x252]
00000A32 262A 0008 move.l D3, [A2 + 0x8]
00000A36 D7AE FFF4 add.l [A6 - 0xC], D3
00000A3A 262E FFF4 move.l D3, [A6 - 0xC]
00000A3E B6AE FFF8 cmp.l D3, [A6 - 0x8]
00000A42 6E08 bgt +0xA /* 00000A4C */
00000A44 5244 addq.w D4, 1
label00000A46:
00000A46 B86D FDA8 cmp.w D4, [A5 - 0x258]
00000A4A 6DDA blt -0x24 /* 00000A26 */
label00000A4C:
00000A4C 362D FDAA move.w D3, [A5 - 0x256]
00000A50 B644 cmp.w D3, D4
00000A52 673C beq +0x3E /* 00000A90 */
00000A54 0C6D 0000 FDAA cmpi.w [A5 - 0x256], 0x0
00000A5A 6D02 blt +0x4 /* 00000A5E */
00000A5C 6138 bsr +0x3A /* 00000A96 */
label00000A5E:
00000A5E B86D FDA8 cmp.w D4, [A5 - 0x258]
00000A62 6C18 bge +0x1A /* 00000A7C */
00000A64 3B44 FDAA move.w [A5 - 0x256], D4
00000A68 612C bsr +0x2E /* 00000A96 */
00000A6A 1B7C 00FF FDAC move.b [A5 - 0x254], 0xFF
00000A70 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
00000A74 3F3C 0004 move.w -[A7], 0x4
00000A78 A939 syscall EnableItem
00000A7A 6014 bra +0x16 /* 00000A90 */
label00000A7C:
00000A7C 3B7C FFFF FDAA move.w [A5 - 0x256], 0xFFFF
00000A82 422D FDAC clr.b [A5 - 0x254]
00000A86 2F2D FEF6 move.l -[A7], [A5 - 0x10A]
00000A8A 3F3C 0004 move.w -[A7], 0x4
00000A8E A93A syscall DisableItem
label00000A90:
00000A90 281F move.l D4, [A7]+
00000A92 4E5E unlink A6
00000A94 4E75 rts
fn00000A96:
00000A96 4E56 FFF8 link A6, -0x0008
00000A9A 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
00000A9E 246D FEB8 movea.l A2, [A5 - 0x148]
00000AA2 3E2A 0014 move.w D7, [A2 + 0x14]
00000AA6 7600 moveq.l D3, 0x00
00000AA8 3C03 move.w D6, D3
00000AAA 48C3 ext.l D3
00000AAC 2803 move.l D4, D3
00000AAE 4EFA 0094 jmp [PC + 0x94 /* 00000B44 */]
label00000AB2:
00000AB2 BC6D FDAA cmp.w D6, [A5 - 0x256]
00000AB6 6600 007A bne +0x7C /* 00000B32 */
00000ABA 2A04 move.l D5, D4
00000ABC 9AAD FEE0 sub.l D5, [A5 - 0x120]
00000AC0 3606 move.w D3, D6
00000AC2 C7FC 0014 muls.w D3, 0x14
00000AC6 2443 movea.l A2, D3
00000AC8 D5ED FDAE add.l A2, [A5 - 0x252]
00000ACC 262A 0008 move.l D3, [A2 + 0x8]
00000AD0 D685 add.l D3, D5
00000AD2 0C83 0000 0000 cmpi.l D3, 0x0
00000AD8 6F56 ble +0x58 /* 00000B30 */
00000ADA 48C7 ext.l D7
00000ADC BA87 cmp.l D5, D7
00000ADE 6C50 bge +0x52 /* 00000B30 */
00000AE0 45EE FFF8 lea.l A2, [A6 - 0x8]
00000AE4 226D FEB8 movea.l A1, [A5 - 0x148]
00000AE8 D3FC 0000 0010 add.l A1, 0x10
00000AEE 24D9 move.l [A2]+, [A1]+
00000AF0 24D9 move.l [A2]+, [A1]+
00000AF2 046E 0010 FFFE subi.w [A6 - 0x2], 0x10
00000AF8 0C85 0000 0000 cmpi.l D5, 0x0
00000AFE 6D06 blt +0x8 /* 00000B06 */
00000B00 3D45 FFF8 move.w [A6 - 0x8], D5
00000B04 6004 bra +0x6 /* 00000B0A */
label00000B06:
00000B06 42AE FFF8 clr.l [A6 - 0x8]
label00000B0A:
00000B0A 3606 move.w D3, D6
00000B0C C7FC 0014 muls.w D3, 0x14
00000B10 2443 movea.l A2, D3
00000B12 D5ED FDAE add.l A2, [A5 - 0x252]
00000B16 262A 0008 move.l D3, [A2 + 0x8]
00000B1A D685 add.l D3, D5
00000B1C 48C7 ext.l D7
00000B1E B687 cmp.l D3, D7
00000B20 6E02 bgt +0x4 /* 00000B24 */
00000B22 6002 bra +0x4 /* 00000B26 */
label00000B24:
00000B24 2607 move.l D3, D7
label00000B26:
00000B26 3D43 FFFC move.w [A6 - 0x4], D3
00000B2A 486E FFF8 pea.l [A6 - 0x8]
00000B2E A8A4 syscall InvertRect
label00000B30:
00000B30 601A bra +0x1C /* 00000B4C */
label00000B32:
00000B32 3606 move.w D3, D6
00000B34 C7FC 0014 muls.w D3, 0x14
00000B38 2443 movea.l A2, D3
00000B3A D5ED FDAE add.l A2, [A5 - 0x252]
00000B3E D8AA 0008 add.l D4, [A2 + 0x8]
00000B42 5246 addq.w D6, 1
label00000B44:
00000B44 BC6D FDA8 cmp.w D6, [A5 - 0x258]
00000B48 6D00 FF68 blt -0x96 /* 00000AB2 */
label00000B4C:
00000B4C 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
00000B50 4E5E unlink A6
00000B52 4E75 rts
fn00000B54:
00000B54 4E56 FFFC link A6, -0x0004
00000B58 42A7 clr.l -[A7]
00000B5A 2F2D FEDA move.l -[A7], [A5 - 0x126]
00000B5E A93D syscall MenuSelect
00000B60 201F move.l D0, [A7]+
00000B62 2D40 FFFC move.l [A6 - 0x4], D0
00000B66 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000B6A 6106 bsr +0x8 /* 00000B72 */
00000B6C 584F addq.w A7, 4
00000B6E 4E5E unlink A6
00000B70 4E75 rts
fn00000B72:
00000B72 4E56 FFFC link A6, -0x0004
00000B76 302E 0008 move.w D0, [A6 + 0x8]
00000B7A 4EFA 00E2 jmp [PC + 0xE2 /* 00000C5E */]
label00000B7E:
00000B7E 0C6E 0001 000A cmpi.w [A6 + 0xA], 0x1
00000B84 6606 bne +0x8 /* 00000B8C */
00000B86 4EBA 00F2 jsr [PC + 0xF2 /* 00000C7A */]
00000B8A 6020 bra +0x22 /* 00000BAC */
label00000B8C:
00000B8C 0C6E 0003 000A cmpi.w [A6 + 0xA], 0x3
00000B92 6D18 blt +0x1A /* 00000BAC */
00000B94 2F2D FEEE move.l -[A7], [A5 - 0x112]
00000B98 3F2E 000A move.w -[A7], [A6 + 0xA]
00000B9C 486D FDB6 pea.l [A5 - 0x24A]
00000BA0 A946 syscall GetMenuItemText/GetItem
00000BA2 4267 clr.w -[A7]
00000BA4 486D FDB6 pea.l [A5 - 0x24A]
00000BA8 A9B6 syscall OpenDeskAcc
00000BAA 301F move.w D0, [A7]+
label00000BAC:
00000BAC 4EFA 00C4 jmp [PC + 0xC4 /* 00000C72 */]
label00000BB0:
00000BB0 302E 000A move.w D0, [A6 + 0xA]
00000BB4 6010 bra +0x12 /* 00000BC6 */
label00000BB6:
00000BB6 4EBA 03BA jsr [PC + 0x3BA /* 00000F72 */]
00000BBA 426D FDA6 clr.w [A5 - 0x25A]
00000BBE 600E bra +0x10 /* 00000BCE */
label00000BC0:
00000BC0 422D FEFA clr.b [A5 - 0x106]
00000BC4 6008 bra +0xA /* 00000BCE */
label00000BC6:
00000BC6 5340 subq.w D0, 1
00000BC8 67EC beq -0x12 /* 00000BB6 */
00000BCA 5540 subq.w D0, 2
00000BCC 67F2 beq -0xC /* 00000BC0 */
label00000BCE:
00000BCE 4EFA 00A2 jmp [PC + 0xA2 /* 00000C72 */]
label00000BD2:
00000BD2 42A7 clr.l -[A7]
00000BD4 A924 syscall FrontWindow
00000BD6 201F move.l D0, [A7]+
00000BD8 B0AD FEB8 cmp.l D0, [A5 - 0x148]
00000BDC 6600 0068 bne +0x6A /* 00000C46 */
00000BE0 0C6D 0000 FDAA cmpi.w [A5 - 0x256], 0x0
00000BE6 6D00 005E blt +0x60 /* 00000C46 */
00000BEA 0C6E 0004 000A cmpi.w [A6 + 0xA], 0x4
00000BF0 6600 0054 bne +0x56 /* 00000C46 */
00000BF4 42A7 clr.l -[A7]
00000BF6 A9FC syscall ZeroScrap
00000BF8 2D5F FFFC move.l [A6 - 0x4], [A7]+
00000BFC 362D FDAA move.w D3, [A5 - 0x256]
00000C00 C7FC 0014 muls.w D3, 0x14
00000C04 2443 movea.l A2, D3
00000C06 D5ED FDAE add.l A2, [A5 - 0x252]
00000C0A 206A 0010 movea.l A0, [A2 + 0x10]
00000C0E 2F0A move.l -[A7], A2
00000C10 A029 syscall HLock
00000C12 2457 movea.l A2, [A7]
00000C14 2F2A 0004 move.l -[A7], [A2 + 0x4]
00000C18 2F2A 0000 move.l -[A7], [A2 + 0x0]
00000C1C 226A 0010 movea.l A1, [A2 + 0x10]
00000C20 2F11 move.l -[A7], [A1]
00000C22 A9FE syscall PutScrap
00000C24 2D5F FFFC move.l [A6 - 0x4], [A7]+
00000C28 6706 beq +0x8 /* 00000C30 */
00000C2A 3F3C 0002 move.w -[A7], 0x2
00000C2E A9C8 syscall SysBeep
label00000C30:
00000C30 362D FDAA move.w D3, [A5 - 0x256]
00000C34 C7FC 0014 muls.w D3, 0x14
00000C38 2443 movea.l A2, D3
00000C3A D5ED FDAE add.l A2, [A5 - 0x252]
00000C3E 206A 0010 movea.l A0, [A2 + 0x10]
00000C42 A02A syscall HUnlock
00000C44 6016 bra +0x18 /* 00000C5C */
label00000C46:
00000C46 4267 clr.w -[A7]
00000C48 362E 000A move.w D3, [A6 + 0xA]
00000C4C 5343 subq.w D3, 1
00000C4E 3F03 move.w -[A7], D3
00000C50 A9C2 syscall SysEdit
00000C52 101F move.b D0, [A7]+
00000C54 6606 bne +0x8 /* 00000C5C */
00000C56 3F3C 0002 move.w -[A7], 0x2
00000C5A A9C8 syscall SysBeep
label00000C5C:
00000C5C 6014 bra +0x16 /* 00000C72 */
label00000C5E:
00000C5E 0440 001E subi.w D0, 0x1E
00000C62 6700 FF1A beq -0xE4 /* 00000B7E */
00000C66 5340 subq.w D0, 1
00000C68 6700 FF46 beq -0xB8 /* 00000BB0 */
00000C6C 5340 subq.w D0, 1
00000C6E 6700 FF62 beq -0x9C /* 00000BD2 */
label00000C72:
00000C72 4267 clr.w -[A7]
00000C74 A938 syscall HiliteMenu
00000C76 4E5E unlink A6
00000C78 4E75 rts
fn00000C7A:
00000C7A 4267 clr.w -[A7]
00000C7C 3F3C 0840 move.w -[A7], 0x840
00000C80 42A7 clr.l -[A7]
00000C82 A985 syscall Alert
00000C84 301F move.w D0, [A7]+
00000C86 4E75 rts
fn00000C88:
00000C88 4E56 0000 link A6, 0
00000C8C 246E 0008 movea.l A2, [A6 + 0x8]
00000C90 B5ED FEB8 cmpa.l A2, [A5 - 0x148]
00000C94 660C bne +0xE /* 00000CA2 */
00000C96 2F2D FEB8 move.l -[A7], [A5 - 0x148]
00000C9A A916 syscall HideWindow
00000C9C 422D FEFA clr.b [A5 - 0x106]
00000CA0 600A bra +0xC /* 00000CAC */
label00000CA2:
00000CA2 246E 0008 movea.l A2, [A6 + 0x8]
00000CA6 3F2A 006C move.w -[A7], [A2 + 0x6C]
00000CAA A9B7 syscall CloseDeskAcc
label00000CAC:
00000CAC 4E5E unlink A6
00000CAE 4E75 rts
fn00000CB0:
00000CB0 4E56 FFFC link A6, -0x0004
00000CB4 48E7 0700 movem.l -[A7], D5,D6,D7
00000CB8 246D FEB8 movea.l A2, [A5 - 0x148]
00000CBC 486A 0010 pea.l [A2 + 0x10]
00000CC0 A8A3 syscall EraseRect
00000CC2 7600 moveq.l D3, 0x00
00000CC4 3E03 move.w D7, D3
00000CC6 48C3 ext.l D3
00000CC8 2A03 move.l D5, D3
00000CCA 4EFA 0052 jmp [PC + 0x52 /* 00000D1E */]
label00000CCE:
00000CCE 3607 move.w D3, D7
00000CD0 C7FC 0014 muls.w D3, 0x14
00000CD4 2443 movea.l A2, D3
00000CD6 D5ED FDAE add.l A2, [A5 - 0x252]
00000CDA 262A 0008 move.l D3, [A2 + 0x8]
00000CDE DA83 add.l D5, D3
00000CE0 4A83 tst.l D3
00000CE2 6712 beq +0x14 /* 00000CF6 */
00000CE4 262D FEE0 move.l D3, [A5 - 0x120]
00000CE8 0483 0000 0010 subi.l D3, 0x10
00000CEE 2405 move.l D2, D5
00000CF0 B483 cmp.l D2, D3
00000CF2 6F28 ble +0x2A /* 00000D1C */
00000CF4 6016 bra +0x18 /* 00000D0C */
label00000CF6:
00000CF6 362A 000E move.w D3, [A2 + 0xE]
00000CFA 48C3 ext.l D3
00000CFC D685 add.l D3, D5
00000CFE 242D FEE0 move.l D2, [A5 - 0x120]
00000D02 0482 0000 0010 subi.l D2, 0x10
00000D08 B682 cmp.l D3, D2
00000D0A 6F10 ble +0x12 /* 00000D1C */
label00000D0C:
00000D0C 262A 0008 move.l D3, [A2 + 0x8]
00000D10 9A83 sub.l D5, D3
00000D12 2605 move.l D3, D5
00000D14 96AD FEE0 sub.l D3, [A5 - 0x120]
00000D18 2C03 move.l D6, D3
00000D1A 6008 bra +0xA /* 00000D24 */
label00000D1C:
00000D1C 5247 addq.w D7, 1
label00000D1E:
00000D1E BE6D FDA8 cmp.w D7, [A5 - 0x258]
00000D22 6DAA blt -0x54 /* 00000CCE */
label00000D24:
00000D24 4EFA 005A jmp [PC + 0x5A /* 00000D80 */]
label00000D28:
00000D28 3607 move.w D3, D7
00000D2A C7FC 0014 muls.w D3, 0x14
00000D2E 2443 movea.l A2, D3
00000D30 D5ED FDAE add.l A2, [A5 - 0x252]
00000D34 2F0A move.l -[A7], A2
00000D36 0C92 5445 5854 cmpi.l [A2], 0x54455854 /* 'TEXT' */
00000D3C 661A bne +0x1C /* 00000D58 */
00000D3E 3F3C FFFF move.w -[A7], 0xFFFF
00000D42 486E FFFC pea.l [A6 - 0x4]
00000D46 3F2D FEE8 move.w -[A7], [A5 - 0x118]
00000D4A 2F06 move.l -[A7], D6
00000D4C 3F07 move.w -[A7], D7
00000D4E 4EBA 0546 jsr [PC + 0x546 /* 00001296 */]
00000D52 4FEF 000E lea.l A7, [A7 + 0xE]
00000D56 6012 bra +0x14 /* 00000D6A */
label00000D58:
00000D58 0C92 5049 4354 cmpi.l [A2], 0x50494354 /* 'PICT' */
00000D5E 660A bne +0xC /* 00000D6A */
00000D60 2F06 move.l -[A7], D6
00000D62 3F07 move.w -[A7], D7
00000D64 4EBA 068C jsr [PC + 0x68C /* 000013F2 */]
00000D68 5C4F addq.w A7, 6
label00000D6A:
00000D6A 245F movea.l A2, [A7]+
00000D6C 262A 0008 move.l D3, [A2 + 0x8]
00000D70 DC83 add.l D6, D3
00000D72 362D FEE8 move.w D3, [A5 - 0x118]
00000D76 48C3 ext.l D3
00000D78 2406 move.l D2, D6
00000D7A B483 cmp.l D2, D3
00000D7C 6E0A bgt +0xC /* 00000D88 */
00000D7E 5247 addq.w D7, 1
label00000D80:
00000D80 3607 move.w D3, D7
00000D82 B66D FDA8 cmp.w D3, [A5 - 0x258]
00000D86 6DA0 blt -0x5E /* 00000D28 */
label00000D88:
00000D88 4A2D FDAC tst.b [A5 - 0x254]
00000D8C 6704 beq +0x6 /* 00000D92 */
00000D8E 4EBA FD06 jsr [PC - 0x2FA /* 00000A96 */]
label00000D92:
00000D92 4CDF 00E0 movem.l D5,D6,D7, [A7]+
00000D96 4E5E unlink A6
00000D98 4E75 rts
00000D9A 4E56 0000 link A6, 0
00000D9E 48E7 1020 movem.l -[A7], D3,A2
00000DA2 0C6E 0014 0008 cmpi.w [A6 + 0x8], 0x14
00000DA8 6606 bne +0x8 /* 00000DB0 */
00000DAA 4AAD FEE0 tst.l [A5 - 0x120]
00000DAE 660C bne +0xE /* 00000DBC */
label00000DB0:
00000DB0 4CDF 0408 movem.l D3,A2, [A7]+
00000DB4 4E5E unlink A6
00000DB6 205F movea.l A0, [A7]+
00000DB8 5C4F addq.w A7, 6
00000DBA 4ED0 jmp [A0]
label00000DBC:
00000DBC 51AD FEE0 subq.l [A5 - 0x120], 8
00000DC0 2F2E 000A move.l -[A7], [A6 + 0xA]
00000DC4 202D FEE0 move.l D0, [A5 - 0x120]
00000DC8 7208 moveq.l D1, 0x08
00000DCA 4EBA 0756 jsr [PC + 0x756 /* 00001522 */]
00000DCE 3F00 move.w -[A7], D0
00000DD0 A963 syscall SetControlValue/SetCtlValue
00000DD2 486D FEC8 pea.l [A5 - 0x138]
00000DD6 4267 clr.w -[A7]
00000DD8 3F3C 0008 move.w -[A7], 0x8
00000DDC 2F2D FEEA move.l -[A7], [A5 - 0x116]
00000DE0 A8EF syscall ScrollRect
00000DE2 2F2D FEEA move.l -[A7], [A5 - 0x116]
00000DE6 A879 syscall SetClip
00000DE8 4EBA FEC6 jsr [PC - 0x13A /* 00000CB0 */]
00000DEC 246D FEB8 movea.l A2, [A5 - 0x148]
00000DF0 486A 0010 pea.l [A2 + 0x10]
00000DF4 A87B syscall ClipRect
00000DF6 60B8 bra -0x46 /* 00000DB0 */
00000DF8 4E56 0000 link A6, 0
00000DFC 48E7 1020 movem.l -[A7], D3,A2
00000E00 0C6E 0015 0008 cmpi.w [A6 + 0x8], 0x15
00000E06 660A bne +0xC /* 00000E12 */
00000E08 262D FEE0 move.l D3, [A5 - 0x120]
00000E0C B6AD FEE4 cmp.l D3, [A5 - 0x11C]
00000E10 660C bne +0xE /* 00000E1E */
label00000E12:
00000E12 4CDF 0408 movem.l D3,A2, [A7]+
00000E16 4E5E unlink A6
00000E18 205F movea.l A0, [A7]+
00000E1A 5C4F addq.w A7, 6
00000E1C 4ED0 jmp [A0]
label00000E1E:
00000E1E 50AD FEE0 addq.l [A5 - 0x120], 8
00000E22 2F2E 000A move.l -[A7], [A6 + 0xA]
00000E26 202D FEE0 move.l D0, [A5 - 0x120]
00000E2A 7208 moveq.l D1, 0x08
00000E2C 4EBA 06F4 jsr [PC + 0x6F4 /* 00001522 */]
00000E30 3F00 move.w -[A7], D0
00000E32 A963 syscall SetControlValue/SetCtlValue
00000E34 486D FEC8 pea.l [A5 - 0x138]
00000E38 4267 clr.w -[A7]
00000E3A 3F3C FFF8 move.w -[A7], 0xFFF8
00000E3E 2F2D FEEA move.l -[A7], [A5 - 0x116]
00000E42 A8EF syscall ScrollRect
00000E44 2F2D FEEA move.l -[A7], [A5 - 0x116]
00000E48 A879 syscall SetClip
00000E4A 4EBA FE64 jsr [PC - 0x19C /* 00000CB0 */]
00000E4E 246D FEB8 movea.l A2, [A5 - 0x148]
00000E52 486A 0010 pea.l [A2 + 0x10]
00000E56 A87B syscall ClipRect
00000E58 60B8 bra -0x46 /* 00000E12 */
00000E5A 4E56 0000 link A6, 0
00000E5E 48E7 1020 movem.l -[A7], D3,A2
00000E62 0C6E 0016 0008 cmpi.w [A6 + 0x8], 0x16
00000E68 670C beq +0xE /* 00000E76 */
label00000E6A:
00000E6A 4CDF 0408 movem.l D3,A2, [A7]+
00000E6E 4E5E unlink A6
00000E70 205F movea.l A0, [A7]+
00000E72 5C4F addq.w A7, 6
00000E74 4ED0 jmp [A0]
label00000E76:
00000E76 362D FEE8 move.w D3, [A5 - 0x118]
00000E7A 48C3 ext.l D3
00000E7C 242D FEE0 move.l D2, [A5 - 0x120]
00000E80 B483 cmp.l D2, D3
00000E82 6F0C ble +0xE /* 00000E90 */
00000E84 362D FEE8 move.w D3, [A5 - 0x118]
00000E88 48C3 ext.l D3
00000E8A 97AD FEE0 sub.l [A5 - 0x120], D3
00000E8E 600E bra +0x10 /* 00000E9E */
label00000E90:
00000E90 4AAD FEE0 tst.l [A5 - 0x120]
00000E94 6706 beq +0x8 /* 00000E9C */
00000E96 42AD FEE0 clr.l [A5 - 0x120]
00000E9A 6002 bra +0x4 /* 00000E9E */
label00000E9C:
00000E9C 60CC bra -0x32 /* 00000E6A */
label00000E9E:
00000E9E 2F2E 000A move.l -[A7], [A6 + 0xA]
00000EA2 202D FEE0 move.l D0, [A5 - 0x120]
00000EA6 7208 moveq.l D1, 0x08
00000EA8 4EBA 0678 jsr [PC + 0x678 /* 00001522 */]
00000EAC 3F00 move.w -[A7], D0
00000EAE A963 syscall SetControlValue/SetCtlValue
00000EB0 486D FEC8 pea.l [A5 - 0x138]
00000EB4 A87B syscall ClipRect
00000EB6 4EBA FDF8 jsr [PC - 0x208 /* 00000CB0 */]
00000EBA 246D FEB8 movea.l A2, [A5 - 0x148]
00000EBE 486A 0010 pea.l [A2 + 0x10]
00000EC2 A87B syscall ClipRect
00000EC4 60A4 bra -0x5A /* 00000E6A */
00000EC6 4E56 0000 link A6, 0
00000ECA 48E7 1020 movem.l -[A7], D3,A2
00000ECE 0C6E 0017 0008 cmpi.w [A6 + 0x8], 0x17
00000ED4 670C beq +0xE /* 00000EE2 */
label00000ED6:
00000ED6 4CDF 0408 movem.l D3,A2, [A7]+
00000EDA 4E5E unlink A6
00000EDC 205F movea.l A0, [A7]+
00000EDE 5C4F addq.w A7, 6
00000EE0 4ED0 jmp [A0]
label00000EE2:
00000EE2 362D FEE8 move.w D3, [A5 - 0x118]
00000EE6 48C3 ext.l D3
00000EE8 D7AD FEE0 add.l [A5 - 0x120], D3
00000EEC 262D FEE0 move.l D3, [A5 - 0x120]
00000EF0 B6AD FEE4 cmp.l D3, [A5 - 0x11C]
00000EF4 6F1C ble +0x1E /* 00000F12 */
00000EF6 362D FEE8 move.w D3, [A5 - 0x118]
00000EFA 48C3 ext.l D3
00000EFC 97AD FEE0 sub.l [A5 - 0x120], D3
00000F00 262D FEE0 move.l D3, [A5 - 0x120]
00000F04 B6AD FEE4 cmp.l D3, [A5 - 0x11C]
00000F08 6602 bne +0x4 /* 00000F0C */
00000F0A 60CA bra -0x34 /* 00000ED6 */
label00000F0C:
00000F0C 2B6D FEE4 FEE0 move.l [A5 - 0x120], [A5 - 0x11C]
label00000F12:
00000F12 2F2E 000A move.l -[A7], [A6 + 0xA]
00000F16 202D FEE0 move.l D0, [A5 - 0x120]
00000F1A 7208 moveq.l D1, 0x08
00000F1C 4EBA 0604 jsr [PC + 0x604 /* 00001522 */]
00000F20 3F00 move.w -[A7], D0
00000F22 A963 syscall SetControlValue/SetCtlValue
00000F24 486D FEC8 pea.l [A5 - 0x138]
00000F28 A87B syscall ClipRect
00000F2A 4EBA FD84 jsr [PC - 0x27C /* 00000CB0 */]
00000F2E 246D FEB8 movea.l A2, [A5 - 0x148]
00000F32 486A 0010 pea.l [A2 + 0x10]
00000F36 A87B syscall ClipRect
00000F38 609C bra -0x62 /* 00000ED6 */
fn00000F3A:
00000F3A 4E56 0000 link A6, 0
00000F3E 362E 0008 move.w D3, [A6 + 0x8]
00000F42 48C3 ext.l D3
00000F44 2F03 move.l -[A7], D3
00000F46 486D FDB6 pea.l [A5 - 0x24A]
00000F4A 4EBA 05C4 jsr [PC + 0x5C4 /* 00001510 */]
00000F4E 486D FDB6 pea.l [A5 - 0x24A]
00000F52 487A 001C pea.l [PC + 0x1C /* 00000F70, value 0x4E56 'NV', cstring "" */]
00000F56 487A 0018 pea.l [PC + 0x18 /* 00000F70, value 0x4E56 'NV', cstring "" */]
00000F5A 487A 0014 pea.l [PC + 0x14 /* 00000F70, value 0x4E56 'NV', cstring "" */]
00000F5E A98B syscall ParamText
00000F60 4267 clr.w -[A7]
00000F62 3F3C 03E9 move.w -[A7], 0x3E9
00000F66 42A7 clr.l -[A7]
00000F68 A985 syscall Alert
00000F6A 301F move.w D0, [A7]+
00000F6C 4E5E unlink A6
00000F6E 4E75 rts
00000F70 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000F72-00000F76
fn00000F72:
00000F72 4E56 FFC6 link A6, -0x003A
// end alternate branch 00000F72-00000F76
fn00000F72: // (misaligned)
00000F74 FFC6 .invalid <<F/7/7>>
00000F76 42A7 clr.l -[A7]
00000F78 2F3C 4449 544C move.l -[A7], 0x4449544C /* 'DITL' */
00000F7E 3F3C 0840 move.w -[A7], 0x840
00000F82 A9A0 syscall GetResource
00000F84 205F movea.l A0, [A7]+
00000F86 2050 movea.l A0, [A0]
00000F88 3028 0020 move.w D0, [A0 + 0x20]
00000F8C 0C40 0840 cmpi.w D0, 0x840
00000F90 6600 002E bne +0x30 /* 00000FC0 */
00000F94 42A7 clr.l -[A7]
00000F96 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
00000F9C 3F3C 0840 move.w -[A7], 0x840
00000FA0 A9A0 syscall GetResource
00000FA2 205F movea.l A0, [A7]+
00000FA4 2008 move.l D0, A0
00000FA6 6718 beq +0x1A /* 00000FC0 */
00000FA8 A025 syscall GetHandleSize
00000FAA 0C80 0000 0145 cmpi.l D0, 0x145
00000FB0 660E bne +0x10 /* 00000FC0 */
00000FB2 4EBA 0762 jsr [PC + 0x762 /* 00001716 */]
00000FB6 4267 clr.w -[A7]
00000FB8 4EBA 0740 jsr [PC + 0x740 /* 000016FA */]
00000FBC 301F move.w D0, [A7]+
00000FBE 670A beq +0xC /* 00000FCA */
label00000FC0:
00000FC0 3F3C 0002 move.w -[A7], 0x2
00000FC4 A9C8 syscall SysBeep
label00000FC6:
00000FC6 4E5E unlink A6
00000FC8 4E75 rts
label00000FCA:
00000FCA 203C 0000 0078 move.l D0, 0x78 /* 'x' */
00000FD0 A122 syscall NewHandle, flags=1
00000FD2 66EC bne -0x12 /* 00000FC0 */
00000FD4 2B48 FEFC move.l [A5 - 0x104], A0
00000FD8 2F08 move.l -[A7], A0
00000FDA 4EBA 0622 jsr [PC + 0x622 /* 000015FE */]
00000FDE 4267 clr.w -[A7]
00000FE0 2F2D FEFC move.l -[A7], [A5 - 0x104]
00000FE4 4EBA 0626 jsr [PC + 0x626 /* 0000160C */]
00000FE8 101F move.b D0, [A7]+
00000FEA 67DA beq -0x24 /* 00000FC6 */
00000FEC 4267 clr.w -[A7]
00000FEE 2F2D FEFC move.l -[A7], [A5 - 0x104]
00000FF2 4EBA 0626 jsr [PC + 0x626 /* 0000161A */]
00000FF6 101F move.b D0, [A7]+
00000FF8 67CC beq -0x32 /* 00000FC6 */
00000FFA 4267 clr.w -[A7]
00000FFC 4EBA 06FC jsr [PC + 0x6FC /* 000016FA */]
00001000 301F move.w D0, [A7]+
00001002 6708 beq +0xA /* 0000100C */
00001004 3F3C 0002 move.w -[A7], 0x2
00001008 A9C8 syscall SysBeep
0000100A 60BA bra -0x44 /* 00000FC6 */
label0000100C:
0000100C 42A7 clr.l -[A7]
0000100E 3F3C 0004 move.w -[A7], 0x4
00001012 A9B9 syscall GetCursor
00001014 201F move.l D0, [A7]+
00001016 2440 movea.l A2, D0
00001018 2F12 move.l -[A7], [A2]
0000101A A851 syscall SetCursor
0000101C 42A7 clr.l -[A7]
0000101E 2F2D FEFC move.l -[A7], [A5 - 0x104]
00001022 42A7 clr.l -[A7]
00001024 42A7 clr.l -[A7]
00001026 4EBA 059E jsr [PC + 0x59E /* 000015C6 */]
0000102A 2D5F FFFC move.l [A6 - 0x4], [A7]+
0000102E 4267 clr.w -[A7]
00001030 4EBA 06C8 jsr [PC + 0x6C8 /* 000016FA */]
00001034 301F move.w D0, [A7]+
00001036 6708 beq +0xA /* 00001040 */
00001038 3F3C 0002 move.w -[A7], 0x2
0000103C A9C8 syscall SysBeep
0000103E 6086 bra -0x78 /* 00000FC6 */
label00001040:
00001040 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001044 42A7 clr.l -[A7]
00001046 4EBA 059A jsr [PC + 0x59A /* 000015E2 */]
0000104A 4267 clr.w -[A7]
0000104C 4EBA 06AC jsr [PC + 0x6AC /* 000016FA */]
00001050 301F move.w D0, [A7]+
00001052 670A beq +0xC /* 0000105E */
00001054 3F3C 0002 move.w -[A7], 0x2
00001058 A9C8 syscall SysBeep
0000105A 6000 FF6A bra -0x94 /* 00000FC6 */
label0000105E:
0000105E 246D FEFC movea.l A2, [A5 - 0x104]
00001062 2252 movea.l A1, [A2]
00001064 3629 002A move.w D3, [A1 + 0x2A]
00001068 48C3 ext.l D3
0000106A 87E9 0022 divs.w D3, [A1 + 0x22]
0000106E C6FC 0048 mulu.w D3, 0x48 /* 'H' */
00001072 3D43 FFD8 move.w [A6 - 0x28], D3
00001076 3629 002C move.w D3, [A1 + 0x2C]
0000107A 48C3 ext.l D3
0000107C 87E9 0024 divs.w D3, [A1 + 0x24]
00001080 C6FC 0048 mulu.w D3, 0x48 /* 'H' */
00001084 0443 01E0 subi.w D3, 0x1E0
00001088 48C3 ext.l D3
0000108A 87FC 0002 divs.w D3, 0x2
0000108E 3B43 FDA6 move.w [A5 - 0x25A], D3
00001092 6C06 bge +0x8 /* 0000109A */
00001094 3B7C 0000 FDA6 move.w [A5 - 0x25A], 0x0
label0000109A:
0000109A 42AE FFC8 clr.l [A6 - 0x38]
0000109E 42AE FFD0 clr.l [A6 - 0x30]
000010A2 42AE FFD4 clr.l [A6 - 0x2C]
000010A6 42AE FFDC clr.l [A6 - 0x24]
000010AA 422E FFC7 clr.b [A6 - 0x39]
000010AE 426E FFE0 clr.w [A6 - 0x20]
000010B2 4EFA 018E jmp [PC + 0x18E /* 00001242 */]
label000010B6:
000010B6 362E FFE0 move.w D3, [A6 - 0x20]
000010BA C7FC 0014 muls.w D3, 0x14
000010BE 2443 movea.l A2, D3
000010C0 D5ED FDAE add.l A2, [A5 - 0x252]
000010C4 2D6A 0008 FFCC move.l [A6 - 0x34], [A2 + 0x8]
000010CA 0C92 5445 5854 cmpi.l [A2], 0x54455854 /* 'TEXT' */
000010D0 6622 bne +0x24 /* 000010F4 */
000010D2 4267 clr.w -[A7]
000010D4 486E FFDA pea.l [A6 - 0x26]
000010D8 3F2E FFD8 move.w -[A7], [A6 - 0x28]
000010DC 2F2E FFDC move.l -[A7], [A6 - 0x24]
000010E0 3F2E FFE0 move.w -[A7], [A6 - 0x20]
000010E4 4EBA 01B0 jsr [PC + 0x1B0 /* 00001296 */]
000010E8 4FEF 000E lea.l A7, [A7 + 0xE]
000010EC 1D40 FFC7 move.b [A6 - 0x39], D0
000010F0 4EFA 00E0 jmp [PC + 0xE0 /* 000011D2 */]
label000010F4:
000010F4 0C92 5049 4354 cmpi.l [A2], 0x50494354 /* 'PICT' */
000010FA 670A beq +0xC /* 00001106 */
000010FC 3F3C 0002 move.w -[A7], 0x2
00001100 A9C8 syscall SysBeep
00001102 6000 FEC2 bra -0x13C /* 00000FC6 */
label00001106:
00001106 4A2E FFC7 tst.b [A6 - 0x39]
0000110A 6700 008A beq +0x8C /* 00001196 */
0000110E 2F2E FFDC move.l -[A7], [A6 - 0x24]
00001112 3F2E FFE0 move.w -[A7], [A6 - 0x20]
00001116 4EBA 02DA jsr [PC + 0x2DA /* 000013F2 */]
0000111A 5C4F addq.w A7, 6
0000111C 262E FFC8 move.l D3, [A6 - 0x38]
00001120 B6AE FFD0 cmp.l D3, [A6 - 0x30]
00001124 6C30 bge +0x32 /* 00001156 */
00001126 362E FFD8 move.w D3, [A6 - 0x28]
0000112A 48C3 ext.l D3
0000112C 242E FFCC move.l D2, [A6 - 0x34]
00001130 94AE FFD0 sub.l D2, [A6 - 0x30]
00001134 D4AE FFC8 add.l D2, [A6 - 0x38]
00001138 B682 cmp.l D3, D2
0000113A 6E08 bgt +0xA /* 00001144 */
0000113C 362E FFD8 move.w D3, [A6 - 0x28]
00001140 48C3 ext.l D3
00001142 600C bra +0xE /* 00001150 */
label00001144:
00001144 262E FFCC move.l D3, [A6 - 0x34]
00001148 96AE FFD0 sub.l D3, [A6 - 0x30]
0000114C D6AE FFC8 add.l D3, [A6 - 0x38]
label00001150:
00001150 3D43 FFDA move.w [A6 - 0x26], D3
00001154 601C bra +0x1E /* 00001172 */
label00001156:
00001156 362E FFD8 move.w D3, [A6 - 0x28]
0000115A 48C3 ext.l D3
0000115C B6AE FFCC cmp.l D3, [A6 - 0x34]
00001160 6E08 bgt +0xA /* 0000116A */
00001162 362E FFD8 move.w D3, [A6 - 0x28]
00001166 48C3 ext.l D3
00001168 6004 bra +0x6 /* 0000116E */
label0000116A:
0000116A 262E FFCC move.l D3, [A6 - 0x34]
label0000116E:
0000116E 3D43 FFDA move.w [A6 - 0x26], D3
label00001172:
00001172 262E FFC8 move.l D3, [A6 - 0x38]
00001176 D6AE FFCC add.l D3, [A6 - 0x34]
0000117A 342E FFD8 move.w D2, [A6 - 0x28]
0000117E 48C2 ext.l D2
00001180 D4AE FFD0 add.l D2, [A6 - 0x30]
00001184 B682 cmp.l D3, D2
00001186 6F06 ble +0x8 /* 0000118E */
00001188 363C 0001 move.w D3, 0x1
0000118C 6002 bra +0x4 /* 00001190 */
label0000118E:
0000118E 4243 clr.w D3
label00001190:
00001190 1D43 FFC7 move.b [A6 - 0x39], D3
00001194 603C bra +0x3E /* 000011D2 */
label00001196:
00001196 262E FFCC move.l D3, [A6 - 0x34]
0000119A 6604 bne +0x6 /* 000011A0 */
0000119C 362A 000E move.w D3, [A2 + 0xE]
label000011A0:
000011A0 D6AE FFD4 add.l D3, [A6 - 0x2C]
000011A4 342E FFD8 move.w D2, [A6 - 0x28]
000011A8 48C2 ext.l D2
000011AA D4AE FFD0 add.l D2, [A6 - 0x30]
000011AE B682 cmp.l D3, D2
000011B0 6F0C ble +0xE /* 000011BE */
000011B2 1D7C 00FF FFC7 move.b [A6 - 0x39], 0xFF
000011B8 426E FFDA clr.w [A6 - 0x26]
000011BC 6014 bra +0x16 /* 000011D2 */
label000011BE:
000011BE 2F2E FFDC move.l -[A7], [A6 - 0x24]
000011C2 3F2E FFE0 move.w -[A7], [A6 - 0x20]
000011C6 4EBA 022A jsr [PC + 0x22A /* 000013F2 */]
000011CA 5C4F addq.w A7, 6
000011CC 3D6E FFCE FFDA move.w [A6 - 0x26], [A6 - 0x32]
label000011D2:
000011D2 362E FFDA move.w D3, [A6 - 0x26]
000011D6 48C3 ext.l D3
000011D8 D7AE FFD4 add.l [A6 - 0x2C], D3
000011DC 4A2E FFC7 tst.b [A6 - 0x39]
000011E0 6706 beq +0x8 /* 000011E8 */
000011E2 536E FFE0 subq.w [A6 - 0x20], 1
000011E6 6028 bra +0x2A /* 00001210 */
label000011E8:
000011E8 262E FFCC move.l D3, [A6 - 0x34]
000011EC D7AE FFC8 add.l [A6 - 0x38], D3
000011F0 262E FFC8 move.l D3, [A6 - 0x38]
000011F4 96AE FFD0 sub.l D3, [A6 - 0x30]
000011F8 2D43 FFDC move.l [A6 - 0x24], D3
000011FC 362E FFD8 move.w D3, [A6 - 0x28]
00001200 48C3 ext.l D3
00001202 D6AE FFD0 add.l D3, [A6 - 0x30]
00001206 242E FFD4 move.l D2, [A6 - 0x2C]
0000120A B483 cmp.l D2, D3
0000120C 6C02 bge +0x4 /* 00001210 */
0000120E 602E bra +0x30 /* 0000123E */
label00001210:
00001210 4267 clr.w -[A7]
00001212 4EBA 04E6 jsr [PC + 0x4E6 /* 000016FA */]
00001216 301F move.w D0, [A7]+
00001218 6634 bne +0x36 /* 0000124E */
0000121A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000121E 4EBA 03D0 jsr [PC + 0x3D0 /* 000015F0 */]
00001222 2D6E FFD4 FFD0 move.l [A6 - 0x30], [A6 - 0x2C]
00001228 262E FFC8 move.l D3, [A6 - 0x38]
0000122C 96AE FFD0 sub.l D3, [A6 - 0x30]
00001230 2D43 FFDC move.l [A6 - 0x24], D3
00001234 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001238 42A7 clr.l -[A7]
0000123A 4EBA 03A6 jsr [PC + 0x3A6 /* 000015E2 */]
label0000123E:
0000123E 526E FFE0 addq.w [A6 - 0x20], 1
label00001242:
00001242 362E FFE0 move.w D3, [A6 - 0x20]
00001246 B66D FDA8 cmp.w D3, [A5 - 0x258]
0000124A 6D00 FE6A blt -0x194 /* 000010B6 */
label0000124E:
0000124E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001252 4EBA 039C jsr [PC + 0x39C /* 000015F0 */]
00001256 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000125A 4EBA 0378 jsr [PC + 0x378 /* 000015D4 */]
0000125E 246D FEFC movea.l A2, [A5 - 0x104]
00001262 2252 movea.l A1, [A2]
00001264 1629 0044 move.b D3, [A1 + 0x44]
00001268 4883 ext.w D3
0000126A 0C43 0001 cmpi.w D3, 0x1
0000126E 661C bne +0x1E /* 0000128C */
00001270 4267 clr.w -[A7]
00001272 4EBA 0486 jsr [PC + 0x486 /* 000016FA */]
00001276 301F move.w D0, [A7]+
00001278 6612 bne +0x14 /* 0000128C */
0000127A 2F2D FEFC move.l -[A7], [A5 - 0x104]
0000127E 42A7 clr.l -[A7]
00001280 42A7 clr.l -[A7]
00001282 42A7 clr.l -[A7]
00001284 486E FFE2 pea.l [A6 - 0x1E]
00001288 4EBA 03E4 jsr [PC + 0x3E4 /* 0000166E */]
label0000128C:
0000128C 486D FF90 pea.l [A5 - 0x70]
00001290 A851 syscall SetCursor
00001292 6000 FD32 bra -0x2CC /* 00000FC6 */
fn00001296:
00001296 4E56 FFF0 link A6, -0x0010
0000129A 48E7 0E18 movem.l -[A7], D4,D5,D6,A3,A4
0000129E 362E 0008 move.w D3, [A6 + 0x8]
000012A2 C7FC 0014 muls.w D3, 0x14
000012A6 2443 movea.l A2, D3
000012A8 D5ED FDAE add.l A2, [A5 - 0x252]
000012AC 162A 000E move.b D3, [A2 + 0xE]
000012B0 4883 ext.w D3
000012B2 3F03 move.w -[A7], D3
000012B4 162A 000D move.b D3, [A2 + 0xD]
000012B8 4883 ext.w D3
000012BA 3F03 move.w -[A7], D3
000012BC 162A 000C move.b D3, [A2 + 0xC]
000012C0 4883 ext.w D3
000012C2 3F03 move.w -[A7], D3
000012C4 A887 syscall TextFont
000012C6 A88A syscall TextSize
000012C8 A888 syscall TextFace
000012CA 486E FFF0 pea.l [A6 - 0x10]
000012CE A88B syscall GetFontInfo
000012D0 3D6E FFF2 FFFC move.w [A6 - 0x4], [A6 - 0xE]
000012D6 362E FFF0 move.w D3, [A6 - 0x10]
000012DA D66E FFFC add.w D3, [A6 - 0x4]
000012DE 3D43 FFFE move.w [A6 - 0x2], D3
000012E2 4A2E 0015 tst.b [A6 + 0x15]
000012E6 6714 beq +0x16 /* 000012FC */
000012E8 362E FFFE move.w D3, [A6 - 0x2]
000012EC 4443 neg.w D3
000012EE 3D43 FFF8 move.w [A6 - 0x8], D3
000012F2 362E FFFE move.w D3, [A6 - 0x2]
000012F6 D76E 000E add.w [A6 + 0xE], D3
000012FA 6004 bra +0x6 /* 00001300 */
label000012FC:
000012FC 426E FFF8 clr.w [A6 - 0x8]
label00001300:
00001300 206A 0010 movea.l A0, [A2 + 0x10]
00001304 2850 movea.l A4, [A0]
00001306 A029 syscall HLock
00001308 362E 0008 move.w D3, [A6 + 0x8]
0000130C 48C3 ext.l D3
0000130E E583 asl D3, 2
00001310 246D FDB2 movea.l A2, [A5 - 0x24E]
00001314 2672 3800 movea.l A3, [A2 + D3]
00001318 204B movea.l A0, A3
0000131A A029 syscall HLock
0000131C 204B movea.l A0, A3
0000131E A025 syscall GetHandleSize
00001320 2653 movea.l A3, [A3]
00001322 3D40 FFFA move.w [A6 - 0x6], D0
00001326 246E 0010 movea.l A2, [A6 + 0x10]
0000132A 4252 clr.w [A2]
0000132C 7800 moveq.l D4, 0x00
0000132E 2A2E 000A move.l D5, [A6 + 0xA]
00001332 6022 bra +0x24 /* 00001356 */
label00001334:
00001334 362E FFFE move.w D3, [A6 - 0x2]
00001338 48C3 ext.l D3
0000133A DA83 add.l D5, D3
0000133C 362E FFF8 move.w D3, [A6 - 0x8]
00001340 48C3 ext.l D3
00001342 BA83 cmp.l D5, D3
00001344 6E16 bgt +0x18 /* 0000135C */
00001346 3604 move.w D3, D4
00001348 5244 addq.w D4, 1
0000134A 1433 3000 move.b D2, [A3 + D3.w]
0000134E 0282 0000 00FF andi.l D2, 0xFF
00001354 D9C2 add.l A4, D2
label00001356:
00001356 B86E FFFA cmp.w D4, [A6 - 0x6]
0000135A 6DD8 blt -0x26 /* 00001334 */
label0000135C:
0000135C 362E FFFC move.w D3, [A6 - 0x4]
00001360 48C3 ext.l D3
00001362 9A83 sub.l D5, D3
00001364 976E 000E sub.w [A6 + 0xE], D3
00001368 6046 bra +0x48 /* 000013B0 */
label0000136A:
0000136A 362D FDA6 move.w D3, [A5 - 0x25A]
0000136E 5643 addq.w D3, 3
00001370 3F03 move.w -[A7], D3
00001372 3F05 move.w -[A7], D5
00001374 A893 syscall MoveTo
00001376 2F0C move.l -[A7], A4
00001378 4267 clr.w -[A7]
0000137A 1633 4000 move.b D3, [A3 + D4.w]
0000137E 0243 00FF andi.w D3, 0xFF
00001382 3F03 move.w -[A7], D3
00001384 A885 syscall DrawText
00001386 246E 0010 movea.l A2, [A6 + 0x10]
0000138A 362E FFFE move.w D3, [A6 - 0x2]
0000138E D752 add.w [A2], D3
00001390 1633 4000 move.b D3, [A3 + D4.w]
00001394 0283 0000 00FF andi.l D3, 0xFF
0000139A D9C3 add.l A4, D3
0000139C 362E FFFE move.w D3, [A6 - 0x2]
000013A0 48C3 ext.l D3
000013A2 DA83 add.l D5, D3
000013A4 362E 000E move.w D3, [A6 + 0xE]
000013A8 48C3 ext.l D3
000013AA BA83 cmp.l D5, D3
000013AC 6E08 bgt +0xA /* 000013B6 */
000013AE 5244 addq.w D4, 1
label000013B0:
000013B0 B86E FFFA cmp.w D4, [A6 - 0x6]
000013B4 6DB4 blt -0x4A /* 0000136A */
label000013B6:
000013B6 362E 0008 move.w D3, [A6 + 0x8]
000013BA 48C3 ext.l D3
000013BC E583 asl D3, 2
000013BE 246D FDB2 movea.l A2, [A5 - 0x24E]
000013C2 2072 3800 movea.l A0, [A2 + D3]
000013C6 A02A syscall HUnlock
000013C8 362E 0008 move.w D3, [A6 + 0x8]
000013CC C7FC 0014 muls.w D3, 0x14
000013D0 2443 movea.l A2, D3
000013D2 D5ED FDAE add.l A2, [A5 - 0x252]
000013D6 206A 0010 movea.l A0, [A2 + 0x10]
000013DA A02A syscall HUnlock
000013DC B86E FFFA cmp.w D4, [A6 - 0x6]
000013E0 6604 bne +0x6 /* 000013E6 */
000013E2 7000 moveq.l D0, 0x00
000013E4 6002 bra +0x4 /* 000013E8 */
label000013E6:
000013E6 70FF moveq.l D0, 0xFFFFFFFF
label000013E8:
000013E8 4880 ext.w D0
000013EA 4CDF 1870 movem.l D4,D5,D6,A3,A4, [A7]+
000013EE 4E5E unlink A6
000013F0 4E75 rts
fn000013F2:
000013F2 4E56 FFF8 link A6, -0x0008
000013F6 48E7 0C18 movem.l -[A7], D4,D5,A3,A4
000013FA 362E 0008 move.w D3, [A6 + 0x8]
000013FE C7FC 0014 muls.w D3, 0x14
00001402 2843 movea.l A4, D3
00001404 D9ED FDAE add.l A4, [A5 - 0x252]
00001408 206C 0010 movea.l A0, [A4 + 0x10]
0000140C 2F08 move.l -[A7], A0
0000140E A029 syscall HLock
00001410 225F movea.l A1, [A7]+
00001412 2651 movea.l A3, [A1]
00001414 362B 0002 move.w D3, [A3 + 0x2]
00001418 48C3 ext.l D3
0000141A 2A2E 000A move.l D5, [A6 + 0xA]
0000141E 9A83 sub.l D5, D3
00001420 382C 000C move.w D4, [A4 + 0xC]
00001424 D86D FDA6 add.w D4, [A5 - 0x25A]
00001428 45EE FFF8 lea.l A2, [A6 - 0x8]
0000142C 224B movea.l A1, A3
0000142E 5489 addq.l A1, 2
00001430 24D9 move.l [A2]+, [A1]+
00001432 24D9 move.l [A2]+, [A1]+
00001434 486E FFF8 pea.l [A6 - 0x8]
00001438 3F04 move.w -[A7], D4
0000143A 3F05 move.w -[A7], D5
0000143C A8A8 syscall OffsetRect
0000143E 206C 0010 movea.l A0, [A4 + 0x10]
00001442 A02A syscall HUnlock
00001444 2F2C 0010 move.l -[A7], [A4 + 0x10]
00001448 486E FFF8 pea.l [A6 - 0x8]
0000144C A8F6 syscall DrawPicture
0000144E 4CDF 1830 movem.l D4,D5,A3,A4, [A7]+
00001452 4E5E unlink A6
00001454 4E75 rts
fn00001456:
00001456 4E56 FFCE link A6, -0x0032
0000145A 41EE FFCE lea.l A0, [A6 - 0x32]
0000145E 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00001464 A001 syscall Close
00001466 4E5E unlink A6
00001468 4E75 rts
fn0000146A:
0000146A 4E56 FFCE link A6, -0x0032
0000146E 41EE FFCE lea.l A0, [A6 - 0x32]
00001472 216E 0008 0012 move.l [A0 + 0x12], [A6 + 0x8]
00001478 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
0000147E 4268 001A clr.w [A0 + 0x1A]
00001482 42A8 001C clr.l [A0 + 0x1C]
00001486 A000 syscall Open/PBHOpen/HOpen
00001488 226E 000E movea.l A1, [A6 + 0xE]
0000148C 32A8 0018 move.w [A1], [A0 + 0x18]
00001490 4E5E unlink A6
00001492 4E75 rts
fn00001494:
00001494 50C0 st D0
00001496 6002 bra +0x4 /* 0000149A */
00001498 51C0 sf D0
label0000149A:
0000149A 4E56 FFCE link A6, -0x0032
0000149E 41EE FFCE lea.l A0, [A6 - 0x32]
000014A2 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
000014A8 226E 000A movea.l A1, [A6 + 0xA]
000014AC 2151 0024 move.l [A0 + 0x24], [A1]
000014B0 216E 000E 0020 move.l [A0 + 0x20], [A6 + 0xE]
000014B6 4268 002C clr.w [A0 + 0x2C]
000014BA 42A8 002E clr.l [A0 + 0x2E]
000014BE 4A00 tst.b D0
000014C0 6604 bne +0x6 /* 000014C6 */
000014C2 A003 syscall Write
000014C4 6002 bra +0x4 /* 000014C8 */
label000014C6:
000014C6 A002 syscall Read
label000014C8:
000014C8 226E 000A movea.l A1, [A6 + 0xA]
000014CC 22A8 0028 move.l [A1], [A0 + 0x28]
000014D0 4E5E unlink A6
000014D2 4E75 rts
fn000014D4:
000014D4 4E56 FFC0 link A6, -0x0040
000014D8 41EE FFC0 lea.l A0, [A6 - 0x40]
000014DC 216E 0008 0012 move.l [A0 + 0x12], [A6 + 0x8]
000014E2 A014 syscall GetVol/PBHGetVol/HGetVol
000014E4 226E 000C movea.l A1, [A6 + 0xC]
000014E8 32A8 0016 move.w [A1], [A0 + 0x16]
000014EC 4E5E unlink A6
000014EE 4E75 rts
fn000014F0:
000014F0 4E56 FFCE link A6, -0x0032
000014F4 41EE FFCE lea.l A0, [A6 - 0x32]
000014F8 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
000014FE 316E 000A 002C move.w [A0 + 0x2C], [A6 + 0xA]
00001504 216E 000C 002E move.l [A0 + 0x2E], [A6 + 0xC]
0000150A A044 syscall SetFPos
0000150C 4E5E unlink A6
0000150E 4E75 rts
fn00001510:
00001510 206F 0004 movea.l A0, [A7 + 0x4]
00001514 202F 0008 move.l D0, [A7 + 0x8]
00001518 4267 clr.w -[A7]
0000151A A9EE syscall Pack7/DecStr68K
0000151C 205F movea.l A0, [A7]+
0000151E 504F addq.w A7, 8
00001520 4ED0 jmp [A0]
fn00001522:
00001522 2F04 move.l -[A7], D4
00001524 4284 clr.l D4
00001526 4A80 tst.l D0
00001528 6A04 bpl +0x6 /* 0000152E */
0000152A 4480 neg.l D0
0000152C 5244 addq.w D4, 1
label0000152E:
0000152E 4A81 tst.l D1
00001530 6A06 bpl +0x8 /* 00001538 */
00001532 4481 neg.l D1
00001534 0A44 0001 xori.w D4, 0x1
label00001538:
00001538 610A bsr +0xC /* 00001544 */
0000153A 4A44 tst.w D4
0000153C 6702 beq +0x4 /* 00001540 */
0000153E 4480 neg.l D0
label00001540:
00001540 281F move.l D4, [A7]+
00001542 4E75 rts
fn00001544:
00001544 48E7 3000 movem.l -[A7], D2,D3
00001548 4841 swap.w D1
0000154A 4A41 tst.w D1
0000154C 6628 bne +0x2A /* 00001576 */
0000154E 4841 swap.w D1
00001550 4243 clr.w D3
00001552 80C1 divu.w D0, D1
00001554 680E bvc +0x10 /* 00001564 */
00001556 3400 move.w D2, D0
00001558 4240 clr.w D0
0000155A 4840 swap.w D0
0000155C 80C1 divu.w D0, D1
0000155E 3600 move.w D3, D0
00001560 3002 move.w D0, D2
00001562 80C1 divu.w D0, D1
label00001564:
00001564 2200 move.l D1, D0
00001566 4840 swap.w D0
00001568 3003 move.w D0, D3
0000156A 4840 swap.w D0
0000156C 4241 clr.w D1
0000156E 4841 swap.w D1
00001570 4CDF 000C movem.l D2,D3, [A7]+
00001574 4E75 rts
label00001576:
00001576 4841 swap.w D1
00001578 4282 clr.l D2
0000157A 761F moveq.l D3, 0x1F
label0000157C:
0000157C E380 asl D0, 1
0000157E E392 roxl D2, 1
00001580 9481 sub.l D2, D1
00001582 6B10 bmi +0x12 /* 00001594 */
label00001584:
00001584 5280 addq.l D0, 1
00001586 51CB FFF4 dbf D3, -0xE /* 0000157C */
0000158A 600E bra +0x10 /* 0000159A */
label0000158C:
0000158C E380 asl D0, 1
0000158E E392 roxl D2, 1
00001590 D481 add.l D2, D1
00001592 6AF0 bpl -0xE /* 00001584 */
label00001594:
00001594 51CB FFF6 dbf D3, -0xC /* 0000158C */
00001598 D481 add.l D2, D1
label0000159A:
0000159A 2202 move.l D1, D2
0000159C 4CDF 000C movem.l D2,D3, [A7]+
000015A0 4E75 rts
fn000015A2:
000015A2 48E7 3000 movem.l -[A7], D2,D3
000015A6 3401 move.w D2, D1
000015A8 C4C0 mulu.w D2, D0
000015AA 2601 move.l D3, D1
000015AC 4843 swap.w D3
000015AE C6C0 mulu.w D3, D0
000015B0 4843 swap.w D3
000015B2 4243 clr.w D3
000015B4 D483 add.l D2, D3
000015B6 4840 swap.w D0
000015B8 C0C1 mulu.w D0, D1
000015BA 4840 swap.w D0
000015BC 4240 clr.w D0
000015BE D082 add.l D0, D2
000015C0 4CDF 000C movem.l D2,D3, [A7]+
000015C4 4E75 rts
fn000015C6:
000015C6 2F17 move.l -[A7], [A7]
000015C8 2F7C 0400 0C00 0004 move.l [A7 + 0x4], 0x4000C00
000015D0 4EFA 0160 jmp [PC + 0x160 /* 00001732 */]
fn000015D4:
000015D4 2F17 move.l -[A7], [A7]
000015D6 2F7C 0800 0484 0004 move.l [A7 + 0x4], 0x8000484
000015DE 4EFA 0152 jmp [PC + 0x152 /* 00001732 */]
fn000015E2:
000015E2 2F17 move.l -[A7], [A7]
000015E4 2F7C 1000 0808 0004 move.l [A7 + 0x4], 0x10000808
000015EC 4EFA 0144 jmp [PC + 0x144 /* 00001732 */]
fn000015F0:
000015F0 2F17 move.l -[A7], [A7]
000015F2 2F7C 1800 040C 0004 move.l [A7 + 0x4], 0x1800040C
000015FA 4EFA 0136 jmp [PC + 0x136 /* 00001732 */]
fn000015FE:
000015FE 2F17 move.l -[A7], [A7]
00001600 2F7C 2004 0480 0004 move.l [A7 + 0x4], 0x20040480
00001608 4EFA 0128 jmp [PC + 0x128 /* 00001732 */]
fn0000160C:
0000160C 2F17 move.l -[A7], [A7]
0000160E 2F7C 2A04 0484 0004 move.l [A7 + 0x4], 0x2A040484
00001616 4EFA 011A jmp [PC + 0x11A /* 00001732 */]
fn0000161A:
0000161A 2F17 move.l -[A7], [A7]
0000161C 2F7C 3204 0488 0004 move.l [A7 + 0x4], 0x32040488
00001624 4EFA 010C jmp [PC + 0x10C /* 00001732 */]
00001628 2F17 move.l -[A7], [A7]
0000162A 2F7C 3C04 040C 0004 move.l [A7 + 0x4], 0x3C04040C
00001632 4EFA 00FE jmp [PC + 0xFE /* 00001732 */]
00001636 2F17 move.l -[A7], [A7]
00001638 2F7C 4404 0410 0004 move.l [A7 + 0x4], 0x44040410
00001640 4EFA 00F0 jmp [PC + 0xF0 /* 00001732 */]
00001644 2F17 move.l -[A7], [A7]
00001646 2F7C 4A04 0894 0004 move.l [A7 + 0x4], 0x4A040894
0000164E 4EFA 00E2 jmp [PC + 0xE2 /* 00001732 */]
00001652 2F17 move.l -[A7], [A7]
00001654 2F7C 5204 0498 0004 move.l [A7 + 0x4], 0x52040498
0000165C 4EFA 00D4 jmp [PC + 0xD4 /* 00001732 */]
00001660 2F17 move.l -[A7], [A7]
00001662 2F7C 5804 089C 0004 move.l [A7 + 0x4], 0x5804089C
0000166A 4EFA 00C6 jmp [PC + 0xC6 /* 00001732 */]
fn0000166E:
0000166E 2F17 move.l -[A7], [A7]
00001670 2F7C 6005 1480 0004 move.l [A7 + 0x4], 0x60051480
00001678 4EFA 00B8 jmp [PC + 0xB8 /* 00001732 */]
0000167C 2F17 move.l -[A7], [A7]
0000167E 2F7C 6C07 0C80 0004 move.l [A7 + 0x4], 0x6C070C80
00001686 4EFA 00AA jmp [PC + 0xAA /* 00001732 */]
0000168A 2F17 move.l -[A7], [A7]
0000168C 2F7C 7007 0480 0004 move.l [A7 + 0x4], 0x70070480
00001694 4EFA 009C jmp [PC + 0x9C /* 00001732 */]
00001698 2F17 move.l -[A7], [A7]
0000169A 2F7C 8000 0000 0004 move.l [A7 + 0x4], 0x80000000
000016A2 4EFA 008E jmp [PC + 0x8E /* 00001732 */]
000016A6 2F17 move.l -[A7], [A7]
000016A8 2F7C 8800 0000 0004 move.l [A7 + 0x4], 0x88000000
000016B0 4EFA 0080 jmp [PC + 0x80 /* 00001732 */]
000016B4 2F17 move.l -[A7], [A7]
000016B6 2F7C 9400 0000 0004 move.l [A7 + 0x4], 0x94000000
000016BE 4EFA 0072 jmp [PC + 0x72 /* 00001732 */]
000016C2 2F17 move.l -[A7], [A7]
000016C4 2F7C 9A00 0000 0004 move.l [A7 + 0x4], 0x9A000000
000016CC 4EFA 0064 jmp [PC + 0x64 /* 00001732 */]
000016D0 2F17 move.l -[A7], [A7]
000016D2 2F7C A000 0E00 0004 move.l [A7 + 0x4], 0xA0000E00
000016DA 4EFA 0056 jmp [PC + 0x56 /* 00001732 */]
000016DE 2F17 move.l -[A7], [A7]
000016E0 2F7C A800 0000 0004 move.l [A7 + 0x4], 0xA8000000
000016E8 4EFA 0048 jmp [PC + 0x48 /* 00001732 */]
000016EC 2F17 move.l -[A7], [A7]
000016EE 2F7C B000 0000 0004 move.l [A7 + 0x4], 0xB0000000
000016F6 4EFA 003A jmp [PC + 0x3A /* 00001732 */]
fn000016FA:
000016FA 2F17 move.l -[A7], [A7]
000016FC 2F7C BA00 0000 0004 move.l [A7 + 0x4], 0xBA000000
00001704 4EFA 002C jmp [PC + 0x2C /* 00001732 */]
00001708 2F17 move.l -[A7], [A7]
0000170A 2F7C C000 0200 0004 move.l [A7 + 0x4], 0xC0000200
00001712 4EFA 001E jmp [PC + 0x1E /* 00001732 */]
fn00001716:
00001716 2F17 move.l -[A7], [A7]
00001718 2F7C C800 0000 0004 move.l [A7 + 0x4], 0xC8000000
00001720 4EFA 0010 jmp [PC + 0x10 /* 00001732 */]
00001724 2F17 move.l -[A7], [A7]
00001726 2F7C D000 0000 0004 move.l [A7 + 0x4], 0xD0000000
0000172E 4EFA 0002 jmp [PC + 0x2 /* 00001732 */]
fn00001732:
00001732 4E56 0000 link A6, 0
00001736 48E7 0018 movem.l -[A7], A3,A4
0000173A 7200 moveq.l D1, 0x00
0000173C 122E 0008 move.b D1, [A6 + 0x8]
00001740 E609 lsr D1.b, 3
00001742 6718 beq +0x1A /* 0000175C */
00001744 4A2E 0008 tst.b [A6 + 0x8]
00001748 6B00 00C6 bmi +0xC8 /* 00001810 */
0000174C 7400 moveq.l D2, 0x00
0000174E 142E 0009 move.b D2, [A6 + 0x9]
00001752 661E bne +0x20 /* 00001772 */
00001754 7403 moveq.l D2, 0x03
00001756 C438 0946 and.b D2, [0x00000946 /* ChooserBits */]
0000175A 6016 bra +0x18 /* 00001772 */
label0000175C:
0000175C 206E 0014 movea.l A0, [A6 + 0x14]
00001760 2050 movea.l A0, [A0]
00001762 7403 moveq.l D2, 0x03
00001764 C428 0044 and.b D2, [A0 + 0x44]
00001768 0238 00FC 0946 andi.b [0x00000946 /* ChooserBits */], 0xFC
0000176E 8538 0946 or.b [0x00000946 /* ChooserBits */], D2
label00001772:
00001772 3678 0A5A movea.w A3, [0x00000A5A /* CurMap */]
00001776 42A7 clr.l -[A7]
00001778 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
0000177E 3F02 move.w -[A7], D2
00001780 A9A0 syscall GetResource
00001782 201F move.l D0, [A7]+
00001784 4A80 tst.l D0
00001786 664E bne +0x50 /* 000017D6 */
00001788 3678 0A5A movea.w A3, [0x00000A5A /* CurMap */]
0000178C 0C78 FFFF 0952 cmpi.w [0x00000952 /* PrRefNum */], 0xFFFF
00001792 670C beq +0xE /* 000017A0 */
00001794 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
00001798 A998 syscall UseResFile
0000179A 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
0000179E 6716 beq +0x18 /* 000017B6 */
label000017A0:
000017A0 4EBA 01D8 jsr [PC + 0x1D8 /* 0000197A */]
000017A4 4A40 tst.w D0
000017A6 6708 beq +0xA /* 000017B0 */
000017A8 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
000017AC 4EFA 00B0 jmp [PC + 0xB0 /* 0000185E */]
label000017B0:
000017B0 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
000017B4 A998 syscall UseResFile
label000017B6:
000017B6 42A7 clr.l -[A7]
000017B8 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
000017BE 3F02 move.w -[A7], D2
000017C0 A9A0 syscall GetResource
000017C2 201F move.l D0, [A7]+
000017C4 4A80 tst.l D0
000017C6 660E bne +0x10 /* 000017D6 */
000017C8 3F0B move.w -[A7], A3
000017CA A998 syscall UseResFile
000017CC 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
000017D2 4EFA 008A jmp [PC + 0x8A /* 0000185E */]
label000017D6:
000017D6 2840 movea.l A4, D0
000017D8 204C movea.l A0, A4
000017DA A029 syscall HLock
000017DC 3F0B move.w -[A7], A3
000017DE A998 syscall UseResFile
000017E0 41EE 000C lea.l A0, [A6 + 0xC]
000017E4 7007 moveq.l D0, 0x07
000017E6 C02E 0008 and.b D0, [A6 + 0x8]
000017EA D02E 000A add.b D0, [A6 + 0xA]
000017EE 9EC0 sub.w A7, D0
000017F0 224F movea.l A1, A7
000017F2 A02E syscall BlockMove/BlockMoveData
000017F4 102E 000B move.b D0, [A6 + 0xB]
000017F8 0200 007F andi.b D0, 0x7F
000017FC 2054 movea.l A0, [A4]
000017FE 4EB0 0000 jsr [A0 + D0.w]
00001802 102E 000B move.b D0, [A6 + 0xB]
00001806 6A04 bpl +0x6 /* 0000180C */
00001808 204C movea.l A0, A4
0000180A A02A syscall HUnlock
label0000180C:
0000180C 4EFA 0122 jmp [PC + 0x122 /* 00001930 */]
label00001810:
00001810 9EFC 0032 sub.w A7, 0x32 /* '2' */
00001814 41FA 019C lea.l A0, [PC + 0x19C /* 000019B2, value 0x62E5072, pstring ".Print" */]
00001818 2F48 0012 move.l [A7 + 0x12], A0
0000181C 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD
00001822 422F 001B clr.b [A7 + 0x1B]
00001826 204F movea.l A0, A7
00001828 7000 moveq.l D0, 0x00
0000182A 0881 0004 bclr.b D1, 0x4
0000182E D241 add.w D1, D1
00001830 323B 1006 move.w D1, [PC + D1.w + 0x6]
00001834 4EFB 1002 jmp [PC + D1.w + 0x2]
00001838 0068 006E 0074 ori.w [A0 + 0x74], 0x6E /* 'n' */
0000183E 007E 0090 ori.w <<invalid special address>>, 0x90
00001842 00AC 00C0 00E2 00EC ori.l [A4 + 0xEC], 0xC000E2
0000184A 0030 0044 0020 ori.b [A0 + D0.w + 0x20], 0x44 /* 'D' */
00001850 0020 0020 ori.b -[A0], 0x20 /* ' ' */
00001854 0020 0020 ori.b -[A0], 0x20 /* ' ' */
00001858 31FC FFCE 0944 move.w [0x00000944 /* PrintErr */], 0xFFCE
label0000185E:
0000185E 7200 moveq.l D1, 0x00
00001860 122E 000A move.b D1, [A6 + 0xA]
00001864 4EFA 00E8 jmp [PC + 0xE8 /* 0000194E */]
00001868 2F3C 8000 0000 move.l -[A7], 0x80000000
0000186E 4EBA FEC2 jsr [PC - 0x13E /* 00001732 */]
00001872 3038 0944 move.w D0, [0x00000944 /* PrintErr */]
00001876 6624 bne +0x26 /* 0000189C */
00001878 7200 moveq.l D1, 0x00
0000187A 6002 bra +0x4 /* 0000187E */
0000187C 7201 moveq.l D1, 0x01
label0000187E:
0000187E 4EBA 00FA jsr [PC + 0xFA /* 0000197A */]
00001882 4A40 tst.w D0
00001884 6616 bne +0x18 /* 0000189C */
00001886 3038 0952 move.w D0, [0x00000952 /* PrRefNum */]
0000188A 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
0000188E 6608 bne +0xA /* 00001898 */
00001890 4A41 tst.w D1
00001892 6704 beq +0x6 /* 00001898 */
00001894 3F00 move.w -[A7], D0
00001896 A99A syscall CloseResFile
label00001898:
00001898 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label0000189C:
0000189C 4EFA 008A jmp [PC + 0x8A /* 00001928 */]
000018A0 A000 syscall Open/PBHOpen/HOpen
000018A2 4EFA 0084 jmp [PC + 0x84 /* 00001928 */]
000018A6 A001 syscall Close
000018A8 4EFA 007E jmp [PC + 0x7E /* 00001928 */]
000018AC 615E bsr +0x60 /* 0000190C */
000018AE DEFC 002E add.w A7, 0x2E /* '.' */
000018B2 2E88 move.l [A7], A0
000018B4 607A bra +0x7C /* 00001930 */
000018B6 6154 bsr +0x56 /* 0000190C */
000018B8 2050 movea.l A0, [A0]
000018BA 7000 moveq.l D0, 0x00
000018BC 1028 0007 move.b D0, [A0 + 0x7]
000018C0 DEFC 0030 add.w A7, 0x30 /* '0' */
000018C4 3E80 move.w [A7], D0
000018C6 6068 bra +0x6A /* 00001930 */
000018C8 216E 000C 0024 move.l [A0 + 0x24], [A6 + 0xC]
000018CE 216E 0010 0020 move.l [A0 + 0x20], [A6 + 0x10]
000018D4 216E 0014 001C move.l [A0 + 0x1C], [A6 + 0x14]
000018DA 316E 0018 001A move.w [A0 + 0x1A], [A6 + 0x18]
000018E0 A004 syscall Control
000018E2 6044 bra +0x46 /* 00001928 */
000018E4 6126 bsr +0x28 /* 0000190C */
000018E6 2050 movea.l A0, [A0]
000018E8 0828 0006 0005 btst.b [A0 + 0x5], 0x6
000018EE 6738 beq +0x3A /* 00001928 */
000018F0 2068 0000 movea.l A0, [A0 + 0x0]
000018F4 A049 syscall HPurge
000018F6 6030 bra +0x32 /* 00001928 */
000018F8 6112 bsr +0x14 /* 0000190C */
000018FA 2050 movea.l A0, [A0]
000018FC 0828 0006 0005 btst.b [A0 + 0x5], 0x6
00001902 6724 beq +0x26 /* 00001928 */
00001904 2068 0000 movea.l A0, [A0 + 0x0]
00001908 A04A syscall HNoPurge
0000190A 601C bra +0x1E /* 00001928 */
fn0000190C:
0000190C 317C 0001 001A move.w [A0 + 0x1A], 0x1
00001912 A005 syscall Status
00001914 2068 001C movea.l A0, [A0 + 0x1C]
00001918 4E75 rts
0000191A DEFC 0030 add.w A7, 0x30 /* '0' */
0000191E 3EB8 0944 move.w [A7], [0x00000944 /* PrintErr */]
00001922 600C bra +0xE /* 00001930 */
00001924 302E 000C move.w D0, [A6 + 0xC]
label00001928:
00001928 DEFC 0032 add.w A7, 0x32 /* '2' */
0000192C 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
label00001930:
00001930 7200 moveq.l D1, 0x00
00001932 122E 000A move.b D1, [A6 + 0xA]
00001936 7007 moveq.l D0, 0x07
00001938 C02E 0008 and.b D0, [A6 + 0x8]
0000193C 6710 beq +0x12 /* 0000194E */
0000193E 204F movea.l A0, A7
00001940 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
00001944 E248 lsr D0.w, 1
00001946 6002 bra +0x4 /* 0000194A */
label00001948:
00001948 32DF move.w [A1]+, [A7]+
label0000194A:
0000194A 51C8 FFFC dbf D0, -0x6 /* 00001948 */
label0000194E:
0000194E 4CDF 1800 movem.l A3,A4, [A7]+
00001952 4E5E unlink A6
00001954 205F movea.l A0, [A7]+
00001956 DFC1 add.l A7, D1
00001958 584F addq.w A7, 4
0000195A 4ED0 jmp [A0]
fn0000195C:
0000195C 7000 moveq.l D0, 0x00
fn0000195E:
0000195E 9EFC 0040 sub.w A7, 0x40 /* '@' */
00001962 204F movea.l A0, A7
00001964 3140 0016 move.w [A0 + 0x16], D0
00001968 42A8 0012 clr.l [A0 + 0x12]
0000196C A015 syscall SetVol/PBHSetVol/HSetVol
0000196E A014 syscall GetVol/PBHGetVol/HGetVol
00001970 3028 0016 move.w D0, [A0 + 0x16]
00001974 DEFC 0040 add.w A7, 0x40 /* '@' */
00001978 4E75 rts
fn0000197A:
0000197A 594F subq.w A7, 4
0000197C 3F3C E000 move.w -[A7], 0xE000
00001980 A9BA syscall GetString
00001982 201F move.l D0, [A7]+
00001984 6606 bne +0x8 /* 0000198C */
00001986 303C FF40 move.w D0, 0xFF40
0000198A 6024 bra +0x26 /* 000019B0 */
label0000198C:
0000198C 2240 movea.l A1, D0
0000198E 61CC bsr -0x32 /* 0000195C */
00001990 4841 swap.w D1
00001992 3200 move.w D1, D0
00001994 554F subq.w A7, 2
00001996 2049 movea.l A0, A1
00001998 A029 syscall HLock
0000199A 2F11 move.l -[A7], [A1]
0000199C A997 syscall OpenResFile
0000199E 31DF 0952 move.w [0x00000952 /* PrRefNum */], [A7]+
000019A2 2049 movea.l A0, A1
000019A4 A02A syscall HUnlock
000019A6 3001 move.w D0, D1
000019A8 4841 swap.w D1
000019AA 61B2 bsr -0x4C /* 0000195E */
000019AC 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label000019B0:
000019B0 4E75 rts
000019B2 062E 5072 696E addi.b [A6 + 0x696E], 0x72 /* 'r' */
000019B8 7420 moveq.l D2, 0x20